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

Discovery in current Home Assistant v2023.6.1 fails #67

Open
smee opened this issue Jun 22, 2023 · 0 comments
Open

Discovery in current Home Assistant v2023.6.1 fails #67

smee opened this issue Jun 22, 2023 · 0 comments

Comments

@smee
Copy link

smee commented Jun 22, 2023

The configuration sent via MQTT all seems to indicate numeric values, but some actually have string values (like 'Disabled'), which leads to errors in home assistant.

The error message looks like this:

ValueError: Sensor sensor.restore_factory_settings has device class 'energy', state class 'measurement' unit '' and suggested precision 'None' thus indicating it has a numeric value; however, it has the non-numeric value: 'Disabled' (<class 'str'>)

image

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