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

MQTT HA ValueErrors #96

Open
lupus78 opened this issue Nov 6, 2023 · 0 comments
Open

MQTT HA ValueErrors #96

lupus78 opened this issue Nov 6, 2023 · 0 comments

Comments

@lupus78
Copy link

lupus78 commented Nov 6, 2023

I'm using the app to sync to MQTT and consume it with HA (I don't have a supervised install).
Data is coming from, but the logs are full of these messages:

home-assistant   | ValueError: Sensor sensor.gosungrow_getpsdetail_5100229_timezone has device class 'None', state class 'measurement' unit 'None' and suggested precision 'None' thus indicating it has a numeric value; however, it has the non-numeric value: 'GMT+1' (<class 'str'>)
home-assistant   | 2023-11-06 13:57:35.195 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.gosungrow_getpsdetail_5100229_p83013 (<class 'homeassistant.components.mqtt.sensor.MqttSensor'>) is using native unit of measurement 'Wh/㎡' which is not a valid unit for the device class ('irradiance') it is using; expected one of ['W/m²', 'BTU/(h⋅ft²)']; 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
home-assistant   | 2023-11-06 13:57:35.205 ERROR (MainThread) [homeassistant.components.mqtt.models] Exception raised when updating state of sensor.gosungrow_getpsdetail_5100229_valid_flag, topic: 'homeassistant/sensor/GoSungrow/GoSungrow-getPsDetail-5100229-valid_flag/state' with payload: b'{"value":"true"}'

I tried to delete the Entries from HA but not allowed. What can I do to fix these issues?

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

1 participant