Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes modified: octoprint_tplinksmartplug/__init__.py #352

Merged
merged 14 commits into from
Feb 9, 2024

Conversation

puterboy
Copy link

@puterboy puterboy commented Feb 9, 2024

The following pull-request addresses and fixes several bugs/feature enhancements.

Specifically,

The code covers the following 3 situations:

  • New energy_data.db creation (one-time)
  • Modification/update of existing energy_data.db (one-time to be consistent with above)
  • Ongoing running and data capture

Note that I was maximally "liberal" in retaining rows that have information - the only rows discarded are rows with zero power and no changes in total or that are not the first return to zero power (the final element is included so that you know when power shuts off)

The GUI now reflects 'grandtotal' by passing that value to the javascript routines.

Let me know if you have any questions or concerns with any of the individual code changes.

jneilliii and others added 14 commits March 18, 2023 10:32
Bumps [actions/stale](https://github.com/actions/stale) from 7 to 8.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](actions/stale@v7...v8)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [actions/stale](https://github.com/actions/stale) from 8 to 9.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](actions/stale@v8...v9)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
…ions/actions/stale-9

Bump actions/stale from 8 to 9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]: 'Last power cost' in additional details is wrong
2 participants