Closed hmmbob closed 8 months ago
Would you be able to test the PR i just created?
Sure, give me 5min for reboot etc
Yes, fixed.
However, in my impatience I opened the UI before the first data was in for 2 out of 5 plants - seems a typing issue may occur:
2024-02-01 10:52:18.890 WARNING (MainThread) [custom_components.plant] Sensor sensor.hangplant_air_humidity has device class 'humidity', state class 'measurement' unit '%' and suggested precision 'None' thus indicating it has a numeric value; however, it has the non-numeric value: 'unknown' (<class 'str'>)
It's a known "problem". This happens when it restores the value for some reason. I have tried about everything to get rid of the warnings, but they seem to be very persistant. Everythong should be fine as soon as it fetches a value from the source sensor.
Thanks for the quick fix!
Running latest beta of HA, and plant v2024.1.0:
I think this might also cause the plant card to not render completely, but unsure (no errors in the Chrome console):