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

[BUG] battery IO wrong when a sensor is unavailable #93

Open
3 tasks done
Santobert opened this issue Oct 26, 2023 · 0 comments
Open
3 tasks done

[BUG] battery IO wrong when a sensor is unavailable #93

Santobert opened this issue Oct 26, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Santobert
Copy link

Describe the bug
A clear and concise description of what the bug is.

My battery input sensor was unavailable for some time around midnight. At the morning it became available again and proceeded working as expected

Screenshot_20231026-134412

The change from 'unavailable' to a number was shown by the card, while the original energy card correctly ignored it.

To Reproduce
Steps to reproduce the behavior:

  1. Configure a sensor as the battery input
  2. Set the sensor to any number
  3. Set the sensor to 'unavailable'
  4. Wait until the next morning
  5. Set the sensor to the exact same number as in step 2
  6. See that the card shows that number as a sudden battery charge, while the original energy card correct ignores that

Expected behavior
A clear and concise description of what you expected to happen.

Unavailable means that the last known value is correct, not zero.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: android
  • Browser: companion app
  • Version 2023-10-2

Smartphone (please complete the following information):

  • Device: pixel 6

Additional context
Add any other context about the problem here.

Please make sure all of this applies and check the checkboxes, by writing "X" inside of them.

  • I understand that this is a channel for reporting bugs, not a support forum (If you need help configuring the card, go to: Discussions).

  • I have the latest version of the card installed.

  • I have cleared my browser cache after installing, updating and configuring the card.

@Santobert Santobert added the bug Something isn't working label Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant