Skip to content
This repository has been archived by the owner on Jul 27, 2021. It is now read-only.

fix: parse power value for new Firmware Version (v2.0.0+) #5

Open
wants to merge 11 commits into
base: development
Choose a base branch
from

Conversation

xLarry
Copy link

@xLarry xLarry commented Mar 11, 2021

The development branch wasn't up to date with main which is why the changes seem to be quite comprehensive.

Following changes (compared to main) have been done:

  1. based on the Firmware Version of the Power Plug, the power value is parsed differently (since the structure of the statusObject changed in v2.0.0)
  2. minimumTime is now compared with the last pulled state change (instead of the last persisted state change)

Please review the changes carefully since I am uncertain if I understood the intention of the original implementation correctly.

Let me know if there are any questions!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants