You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
396 B
20 lines
396 B
4 months ago
|
substitutions:
|
||
|
hostname: cloakroom-switch
|
||
|
friendly_name: Cloakroom Switch
|
||
|
touchpad1_action: toggle_hall_light
|
||
|
|
||
|
|
||
|
packages:
|
||
|
device: !include devices/sonoff-t3.yaml
|
||
|
|
||
|
wifi:
|
||
|
use_address: 192.168.10.16
|
||
|
|
||
|
script:
|
||
|
- id: toggle_hall_light
|
||
|
then:
|
||
|
- homeassistant.service:
|
||
|
service: homeassistant.toggle
|
||
|
data:
|
||
|
entity_id: "switch.front_door_switch_relay_2"
|