Hi, im new in Home Assistant, i have a Chinese Thermostat. I figure how to create a MQTT sensor to get the state of curent temp etc. In the web UI i want to change the state 1 or 0 to something like Running or Shutdown.
/ Status du Thermostat Chambre Maitre On=1 Off=0
- platform: mqtt
name: “Chambre Maitre Thermostat Allume”
state_topic: “/broadlink/4eae9f34ea34/power”
retain: true
/ Température demandé Chambre Maitre - platform: mqtt
name: “Chambre Maitre Thermostat Temperature Voulu”
state_topic: “/broadlink/4eae9f34ea34/thermostat_temp”
unit_of_measurement: ‘ºC’
retain: true
/ Température Actuel Chambre Maitre - platform: mqtt
name: “Chambre Maitre Thermostat Temperature Actuel”
state_topic: “/broadlink/4eae9f34ea34/room_temp”
unit_of_measurement: ‘ºC’
retain: true
/ Mode du Thermostat Chambre Maitre Automatique=1 Manuel=0 - platform: mqtt
name: “Chambre Maitre Thermostat Mode Automatique”
state_topic: “/broadlink/4eae9f34ea34/loop_mode”
retain: true
/ Status du thermostat Chambre Maitre Actif=1 Inactif=0 - platform: mqtt
name: “Chambre Maitre Thermostat En-Marche”
state_topic: “/broadlink/4eae9f34ea34/active”
retain: true