mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-08-20 04:33:09 +00:00
Added some basic sun and weather based automations
This commit is contained in:
12
scripts/inside_all_on.yaml
Normal file
12
scripts/inside_all_on.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
sequence:
|
||||
- event: LOGBOOK_ENTRY
|
||||
event_data:
|
||||
name: EVENT
|
||||
message: "Turning inside lights on."
|
||||
- service: switch.turn_on
|
||||
data:
|
||||
entity_id: switch.tower_lamp
|
||||
|
||||
#- service: notify.notify
|
||||
# data:
|
||||
# message: "Outside lights are on!"
|
20
scripts/outside_all_on.yaml
Normal file
20
scripts/outside_all_on.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
sequence:
|
||||
- event: LOGBOOK_ENTRY
|
||||
event_data:
|
||||
name: EVENT
|
||||
message: "Turning outside lights on."
|
||||
- service: switch.turn_on
|
||||
data:
|
||||
entity_id: switch.driveway_light
|
||||
- service: switch.turn_on
|
||||
data:
|
||||
entity_id: switch.side_door_light
|
||||
- service: switch.turn_on
|
||||
data:
|
||||
entity_id: front_porch_left
|
||||
- service: switch.turn_on
|
||||
data:
|
||||
entity_id: front_porch_right
|
||||
#- service: notify.notify
|
||||
# data:
|
||||
# message: "Outside lights are on!"
|
Reference in New Issue
Block a user