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.
19 lines
400 B
19 lines
400 B
3 months ago
|
substitutions:
|
||
|
hostname: hall-by-front-door
|
||
|
friendly_name: Front Door Switch
|
||
|
touchpad1_action: toggle_landing_light
|
||
|
|
||
|
wifi:
|
||
|
use_address: 192.168.10.6
|
||
|
|
||
|
packages:
|
||
|
device: !include devices/sonoff-t3.yaml
|
||
|
|
||
|
script:
|
||
|
- id: toggle_landing_light
|
||
|
then:
|
||
|
- homeassistant.service:
|
||
|
service: homeassistant.toggle
|
||
|
data:
|
||
|
entity_id: "switch.landing_switch_relay_2"
|