import
This commit is contained in:
parent
5d20ac73a2
commit
f509b511b2
8
home-assistant/conf_switch.d/sonoff_living.yaml
Normal file
8
home-assistant/conf_switch.d/sonoff_living.yaml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
- platform: "mqtt"
|
||||||
|
name: "SonOff Living Room"
|
||||||
|
command_topic: "sonoff_living/switch"
|
||||||
|
state_topic: "sonoff_living/status"
|
||||||
|
qos: 0
|
||||||
|
payload_on: "ON"
|
||||||
|
payload_off: "OFF"
|
||||||
|
retain: true
|
||||||
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