diff --git a/contrib/etc/ebusd/mqtt-hassio.cfg b/contrib/etc/ebusd/mqtt-hassio.cfg index fb97c071..9dc8b4e8 100644 --- a/contrib/etc/ebusd/mqtt-hassio.cfg +++ b/contrib/etc/ebusd/mqtt-hassio.cfg @@ -221,9 +221,13 @@ type_part-number = , # HA integration: %type_part variable for sensor %type_topic type_part-sensor = %unit_of_measurement%state_class%type_class_sensor # HA integration: %type_part variable for switch %type_topic -type_part-switch = %state_class +type_part-switch = , + "payload_on":"on", + "payload_off":"off"%state_class # HA integration: %type_part variable for binary_sensor %type_topic -type_part-binary_sensor = %state_class +type_part-binary_sensor = , + "payload_on":"on", + "payload_off":"off"%state_class # the field specific part (evaluated after the message specific part). # HA integration: set to the mapped %type_part from above