This might be a nodered only issue, but as it is generated on a sensor node, I thought it would be better to put it here.
I’m trying to update an HA sensor through messages I receive from a websocket.
I already use it to update binary_sensors for some lights. Here I would like to do the same for some blinds (store in French).
The “debug 27” data is:
But the sensor node genarate this error:
ValidationError: "state" must be one of [string, boolean, number]
The sensor configuration is:
I tried many things, but as far as I see, the “moving” attribute is a string.
I don’t understand why I get this error.
Any hint would be much appreciated!
Thank you very much in advance.