Update the SunSet turn on Settings to use the SUN platform.
This commit is contained in:
parent
292464facd
commit
f8c64688d3
|
@ -6,12 +6,11 @@
|
|||
|
||||
- alias: 'Sunset Stuff on'
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: sun.sun
|
||||
to: 'below_horizon'
|
||||
from: 'above_horizon'
|
||||
|
||||
- platform: sun
|
||||
event: sunset
|
||||
offset: "-00:20:00"
|
||||
action:
|
||||
- delay: '00:{{ (range(1, 20)|random|int) }}:00'
|
||||
- service: script.tweet_engine_image
|
||||
data_template:
|
||||
tweet: >-
|
||||
|
@ -40,7 +39,6 @@
|
|||
"/config/www/custom_ui/floorplan/images/branding/landscape_light.png",
|
||||
"/config/www/custom_ui/floorplan/images/branding/sunset.png"
|
||||
] | random }}
|
||||
- delay: '00:{{ (range(1, 20)|random|int) }}:00'
|
||||
- service: script.speech_engine
|
||||
data:
|
||||
call_dark_outside: 1
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 61 KiB |
Binary file not shown.
Before Width: | Height: | Size: 106 KiB After Width: | Height: | Size: 108 KiB |
Loading…
Reference in New Issue