2018-01-01 19:00:45 -05:00
###################################
## Sunrise and Sunset stuff
###################################
- alias : 'Sunset Stuff off'
trigger :
- platform : sun
event : sunrise
offset : '-02:00:00'
action :
- service : script.interior_off
- service : homeassistant.turn_off
entity_id :
- group.landscaping
2018-03-17 00:56:57 -04:00
- service : script.tweet_engine_image
2018-01-01 19:00:45 -05:00
data_template :
tweet : >
{{ [
"Even though they are sleeping, I still turn off the outdoor lights before sunrise." ,
2019-04-16 11:25:30 -04:00
"Birds are awake, tweeting and chirping and so is the Bear Stone House. Good morning everyone!" ,
2019-10-10 00:39:10 -04:00
"It was a beautiful sunrise. Time to turn off the exterior lights. (https://www.vcloudinfo.com/2017/08/diy-outdoor-smart-home-led-strips.html)" ,
2018-03-17 00:56:57 -04:00
"If the sun is out, we do not need the exterior lights on. (https://github.com/CCOSTAN/Home-AssistantConfig#landscaping)" ,
2018-04-04 19:30:33 -04:00
"The sun is up so it is time to turn the outside lights off." ,
2019-04-08 19:01:50 -04:00
"I see the sun! Time to turn off the outside lights" ,
2020-05-29 16:52:24 -04:00
"The Sun is up!" ,
2019-04-08 19:01:50 -04:00
"Dawn has broken in #Florida. Turning off the outside lights. " ,
2018-10-01 16:24:24 -04:00
"Everyone will be up soon so time to turn off the outdoor landscaping lights. (https://www.vcloudinfo.com/2018/09/unboxing-philips-hue-calla-landscape.html)" ,
2018-04-15 14:35:11 -04:00
"Good morning Twitter, the sun is up so it is time for me to turn the outside lights off."
2018-01-01 19:00:45 -05:00
] | random + "#HomeAutomation"}}
2018-03-17 00:56:57 -04:00
image : >-
{{ [
2018-03-24 21:49:38 -04:00
"/config/www/custom_ui/floorplan/images/branding/sunrise.png" ,
2018-04-04 19:18:17 -04:00
"/config/www/custom_ui/floorplan/images/branding/sunrise2.png" ,
2018-04-04 19:30:33 -04:00
"/config/www/custom_ui/floorplan/images/branding/Bear_Stone_Coffee.png"
2018-03-17 00:56:57 -04:00
] | random }}
2018-01-01 19:00:45 -05:00
2018-06-14 15:33:39 -04:00
- delay : '00:{{ range(0,5) | random | int }}{{ range(0,9) | random | int }}:00'
2018-01-17 11:39:08 -05:00
- service : homeassistant.turn_off
2018-01-01 19:00:45 -05:00
entity_id :
- group.exterior_lights
- group.outdoor_front_lights
- group.outdoor_pool_lights
2019-12-01 17:43:35 -05:00
- group.outdoor_xmas_lights
2019-06-08 13:33:38 -04:00
- service : light.turn_off
entity_id : all
2018-01-01 19:00:45 -05:00
- wait_template : >-
{{ states.sun.sun.state == 'above_horizon' }}
- service : homeassistant.turn_off
entity_id :
2019-08-17 15:18:36 -04:00
- group.master_bathroom_accents
2018-01-01 19:00:45 -05:00
- group.exterior_lights
- group.outdoor_front_lights
2019-12-01 17:43:35 -05:00
- group.outdoor_xmas_lights
2018-03-17 00:56:57 -04:00
2018-01-01 19:00:45 -05:00
- service : input_boolean.turn_off
entity_id :
- input_boolean.medicine
- input_boolean.daylight_override
- input_boolean.guest_mode