import ha

This commit is contained in:
Julien Cabillot 2017-06-02 13:58:07 +02:00 committed by Cabillot Julien
parent 78401ace13
commit 9b84f4afd8
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,7 @@
- platform: "mqtt"
name: "SonOff Entrance"
command_topic: "sonoff_entrance/switch"
state_topic: "sonoff_entrance/status"
qos: 0
payload_on: "ON"
payload_off: "OFF"

View File

@ -0,0 +1,8 @@
mqtt:
broker: "XXX"
port: 1883
client_id: "homeassistant1"
username: "XXX"
password: "XXX"
switch: !include_dir_merge_list "conf_switch.d/"