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

MqttSensor is using state class 'measurement' #184

Open
jimjaeger opened this issue Oct 20, 2024 · 1 comment
Open

MqttSensor is using state class 'measurement' #184

jimjaeger opened this issue Oct 20, 2024 · 1 comment

Comments

@jimjaeger
Copy link

HoyMiles Solar Gateway stable Addon
Current version: 1.4.1

HMS-800W-2T

Open a ticket because warning following warning in log:
2024-10-19 01:16:48.344 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.hoymiles_gateway_solarh__real_power_measurement (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using state class 'measurement' which is impossible considering device class ('energy') it is using; expected None or one of 'total', 'total_increasing'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+mqtt%22

@Cosik
Copy link
Collaborator

Cosik commented Oct 26, 2024

@jimjaeger it is not an error, only warning. What solution you propose?

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

No branches or pull requests

2 participants