-
Notifications
You must be signed in to change notification settings - Fork 67
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]: Warning on log to create a bugcase #441
Comments
this is not a bug from localtuya as it says there is a sensor configured probably incorrectly, due to it's state is total_increasing but it seems HA detected that it actually doesn't increase. |
Hi @xZetsubou, Thanks for our reply. I think I imported the device automatically, but is not clear to me what this warning really means. I leave below few prints. If you could help I really appreciate. Many thanks and Regards |
Go to at the bottom you will see |
Hi @xZetsubou, I tried to reconfigure again, but something seems strange, at least looking to temperature, the native unit seems okay, on my config: Any idea? |
Units can be sensitive-case and has to be inserted as unit edit: You can take a look of supported devices classes and there valid units here https://developers.home-assistant.io/docs/core/entity/sensor/#available-device-classes |
Hi @xZetsubou , Thanks again for your message. Understood now and all the issues were solved! Thanks and strong regards :) |
LocalTuya Version
2024.12.1
Home Assistant Version
core-2024.12.5
Environment
What happened?
Hi,
I received this message on my logs from HomeAssistant.
Print in attach:
Log details (WARNING)
Logger: homeassistant.components.sensor.recorder
Source: components/sensor/recorder.py:317
integration: Sensor (documentation, issues)
First occurred: 00:55:10 (1 occurrences)
Last logged: 00:55:10
Entity sensor.tomada_electricity_2 from integration localtuya has state class total_increasing, but its state is not strictly increasing. Triggered by state 99.42 (101.71) with last_updated set to 2024-12-29T00:52:29.815609+00:00. Please create a bug report at https://github.com/xZetsubou/hass-localtuya/issues
Steps to reproduce.
Info on logs
Relevant log output
No response
Diagnostics information.
No response
The text was updated successfully, but these errors were encountered: