By setting a state_value_template, the "Unknown" state issue in Home Assistant (as also recently discussed in https://gathering.tweakers.net/forum/list_messages/1976492) disappears as Home Assistant will always have a way to determine the current on/off state.
By setting a
state_value_template
, the "Unknown" state issue in Home Assistant (as also recently discussed in https://gathering.tweakers.net/forum/list_messages/1976492) disappears as Home Assistant will always have a way to determine the current on/off state.