diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 45ed0ea..75437fe 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -7,7 +7,7 @@ jobs: stale: runs-on: ubuntu-latest steps: - - uses: actions/stale@v7 + - uses: actions/stale@v9 with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: 'This issue has been automatically marked as stale because it has not had activity in 14 days. It will be closed if no further activity occurs in 7 days' diff --git a/README.md b/README.md index 6e81ece..398c19a 100644 --- a/README.md +++ b/README.md @@ -74,20 +74,15 @@ Check out my other plugins [here](https://plugins.octoprint.org/by_author/#jneil ### Sponsors - Andreas Lindermayr -- [@Mearman](https://github.com/Mearman) - [@TheTuxKeeper](https://github.com/thetuxkeeper) - [@tideline3d](https://github.com/tideline3d/) -- [OctoFarm](https://octofarm.net/) -- [SimplyPrint](https://simplyprint.dk/) +- [SimplyPrint](https://simplyprint.io/) - [Andrew Beeman](https://github.com/Kiendeleo) - [Calanish](https://github.com/calanish) - [Lachlan Bell](https://lachy.io/) -- [Johnny Bergdal](https://github.com/bergdahl) -- [Leigh Johnson](https://github.com/leigh-johnson) +- [Jonny Bergdahl](https://github.com/bergdahl) - [Stephen Berry](https://github.com/berrystephenw) -- [Guyot François](https://github.com/iFrostizz) - [Steve Dougherty](https://github.com/Thynix) -- [Flying Buffalo Aerial Photography](http://flyingbuffalo.info/) ## Support My Efforts I, jneilliii, programmed this plugin for fun and do my best effort to support those that have issues with it, please return the favor and leave me a tip or become a Patron if you find this plugin helpful and want me to continue future development. diff --git a/octoprint_tplinksmartplug/static/js/tplinksmartplug.js b/octoprint_tplinksmartplug/static/js/tplinksmartplug.js index 6ee721a..243288b 100644 --- a/octoprint_tplinksmartplug/static/js/tplinksmartplug.js +++ b/octoprint_tplinksmartplug/static/js/tplinksmartplug.js @@ -396,7 +396,7 @@ $(function() { trace_total.x.push(row[0]); trace_total.y.push(row[3]); trace_cost.x.push(row[0]); - trace_cost.y.push(row[3]*self.settings.settings.plugins.tplinksmartplug.cost_rate()); + trace_cost.y.push((row[3]*self.settings.settings.plugins.tplinksmartplug.cost_rate()).toFixed(3)); }); var layout = {title:'TP-Link Smartplug Energy Data', grid: {rows: 2, columns: 1, pattern: 'independent'},