Files
homeassistant_config/config/01capteur/mqtt/switch/switch.yaml.old
2024-05-31 09:39:52 +02:00

18 lines
395 B
YAML

---
- unique_id: bedroom_switch
name: "Bedroom Switch"
state_topic: "home/bedroom/switch1"
command_topic: "home/bedroom/switch1/set"
availability:
- topic: "home/bedroom/switch1/available"
payload_not_available: "offline"
payload_available: "online"
payload_on: "ON"
payload_off: "OFF"
state_on: "ON"
state_off: "OFF"
optimistic: false
qos: 0
retain: true