Hello,
I have a series of switches (MQTT driven) for which I get the status and can toggle.
- name: "Greenhouse Door Switch"
unique_id: greenhouse_switch_door
state_topic: "engrie111/greenhouse/door"
command_topic: "engrie111/greenhouse/command"
payload_on: "door:open"
payload_off: "door:close"
state_on: "open"
state_off: "closed"
qos: 0
retain: true
- name: "Greenhouse Ventilator Switch"
unique_id: greenhouse_switch_ventilator
state_topic: "engrie111/greenhouse/ventilator"
command_topic: "engrie111/greenhouse/command"
payload_on: "ventilator:on"
payload_off: "ventilator:off"
state_on: "on"
state_off: "off"
qos: 0
retain: true
- name: "Greenhouse Pump Switch"
unique_id: greenhouse_switch_pump
state_topic: "engrie111/greenhouse/pump"
command_topic: "engrie111/greenhouse/command"
payload_on: "pump:on"
payload_off: "pump:off"
state_on: "on"
state_off: "off"
qos: 0
retain: true
- name: "Greenhouse Valve Soil Left"
unique_id: greenhouse_valve_soil_left
state_topic: "engrie111/greenhouse/valve/soil_left"
command_topic: "engrie111/greenhouse/command"
payload_on: "soil_left:on"
payload_off: "soil_left:off"
state_on: "on"
state_off: "off"
qos: 0
retain: true
- name: "Greenhouse Valve Soil Right"
unique_id: greenhouse_valve_soil_right
state_topic: "engrie111/greenhouse/valve/soil_right"
command_topic: "engrie111/greenhouse/command"
payload_on: "soil_right:on"
payload_off: "soil_right:off"
state_on: "on"
state_off: "off"
qos: 0
retain: true
- name: "Greenhouse Valve Strawberries Left"
unique_id: greenhouse_valve_straberries_left
state_topic: "engrie111/greenhouse/valve/strawberries_left"
command_topic: "engrie111/greenhouse/command"
payload_on: "strawberries_left:on"
payload_off: "strawberries_left:off"
state_on: "on"
state_off: "off"
qos: 0
retain: true
- name: "Greenhouse Valve Strawberries Right"
unique_id: greenhouse_valve_strawberries_right
state_topic: "engrie111/greenhouse/valve/strawberries_right"
command_topic: "engrie111/greenhouse/command"
payload_on: "strawberries_right:on"
payload_off: "strawberries_right:off"
state_on: "on"
state_off: "off"
qos: 0
retain: true
However, when I setup the web interface, The valve do not appear with the ON/OFF slider but with the ‘flash’ icon.
Moreover, while the Door states Open or Closed, the Ventilator and Pump indicate ‘Not moving’ while I would like to see ‘On’ or Off’.
What goes different (wrong?) here and how can I correct this?
Thx in advance