Hi, I’ve added new binary sensor via MQTT which worked fine, but I’m not able to set its status, it keeps showing status as Unknown. Could anyone take a look and suggest what might be wrong in my setup?
Here is the payload in MQTT topic homeassistant/binary_sensor/satel_zone_1/config
:
{
"device_class": "motion",
"name": "Zone 1",
"state_topic": "satel/zones/violation/state",
"payload_on": true,
"payload_off": false,
"value_template": "{{ json_value[0] }}"
}
And here is the message in topic satel/zones/violation/state
:
[
false,
false,
false,
false
]