mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-08-20 12:46:45 +00:00
Added some basic sun and weather based automations
This commit is contained in:
13
automations/cloudy_inside_on.yaml
Normal file
13
automations/cloudy_inside_on.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
alias: "Cloudy, inside on"
|
||||
trigger:
|
||||
platform: time
|
||||
after: '14:40:00'
|
||||
condition:
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.dark_sky_cloud_coverage
|
||||
above: 90
|
||||
- condition: state
|
||||
entity_id: group.family
|
||||
state: "home"
|
||||
action:
|
||||
service: script.inside_all_on
|
7
automations/sunset_inside_on.yaml
Normal file
7
automations/sunset_inside_on.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
alias: "Sunset Inside on"
|
||||
trigger:
|
||||
platform: sun
|
||||
event: sunset
|
||||
offset: "-01:00:00"
|
||||
action:
|
||||
service: script.inside_all_on
|
7
automations/sunset_outside_on.yaml
Normal file
7
automations/sunset_outside_on.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
alias: "Sunset Outside on"
|
||||
trigger:
|
||||
platform: sun
|
||||
event: sunset
|
||||
offset: "-00:30:00"
|
||||
action:
|
||||
service: script.outside_all_on
|
9
automations/test.yaml
Normal file
9
automations/test.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
#trigger:
|
||||
# platform: time
|
||||
# Matches every hour at 5 minutes past whole
|
||||
# minutes: 49
|
||||
# seconds: 00
|
||||
#action:
|
||||
# service: switch.turn_on
|
||||
# data:
|
||||
# entity_id: switch.fireplace_lights
|
Reference in New Issue
Block a user