mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-08-27 14:57:24 +00:00
Updated scripts with switches and lights
This commit is contained in:
21
scripts/outside_all_off.yaml
Normal file
21
scripts/outside_all_off.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
sequence:
|
||||
- event: LOGBOOK_ENTRY
|
||||
event_data:
|
||||
name: EVENT
|
||||
message: "Turning outside lights off."
|
||||
- service: switch.turn_off
|
||||
data:
|
||||
entity_id: switch.driveway_light
|
||||
- service: switch.turn_off
|
||||
data:
|
||||
entity_id: switch.side_door_light
|
||||
- service: switch.turn_off
|
||||
data:
|
||||
entity_id: switch.front_porch_left
|
||||
- service: switch.turn_off
|
||||
data:
|
||||
entity_id: switch.front_porch_right
|
||||
- service: notify.notify
|
||||
data:
|
||||
title: 'Anchorage House'
|
||||
message: "Outside lights are off!"
|
Reference in New Issue
Block a user