Closed philipp-luettecke closed 1 year ago
Found the issue.
It was about the state class
setting in the Config Node.
You shall not set it to measurement
when writing string values as states.
So it was my fault :)
Great integration by the way 🥇
Version of the custom_component
Node Red Companion v2.1.1
Configuration
Configured via UI and created sensors are detected properly.
Describe the bug
The state of a created sensor remains
unknown
even though everything else between HA and Node Red seems to work just as expected. The event seems to reach the HA integration (see logs below), but apparently it does not seem to be handled by Home Assistant.I also have a "Button" configured, that is working just fine. All button press events are passed to Node Red.
Debug log