import ha
This commit is contained in:
parent
78401ace13
commit
9b84f4afd8
7
home-assistant/conf_switch.d/sonoff_entrance.yaml
Normal file
7
home-assistant/conf_switch.d/sonoff_entrance.yaml
Normal 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"
|
||||||
8
home-assistant/configuration.yaml
Normal file
8
home-assistant/configuration.yaml
Normal 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/"
|
||||||
Loading…
x
Reference in New Issue
Block a user