Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #I config:
- mqtt:
- broker: 192.168.1.147
- port: 1883
- client_id: home_assistant-1
- username: !secret mqtt_username
- password: !secret mqtt_password
- # Min switch
- switch:
- - platform: mqtt
- name: Kitchen window
- state_topic: "kitchen/cmd"
- command_topic: "kitchen/gpio/12"
- payload_on: "GPIO,12,1"
- payload_off: "GPIO,12,0"
- retain: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement