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'
|
- alias: 'Sunset Stuff on'
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: sun
|
||||||
entity_id: sun.sun
|
event: sunset
|
||||||
to: 'below_horizon'
|
offset: "-00:20:00"
|
||||||
from: 'above_horizon'
|
|
||||||
|
|
||||||
action:
|
action:
|
||||||
|
- delay: '00:{{ (range(1, 20)|random|int) }}:00'
|
||||||
- service: script.tweet_engine_image
|
- service: script.tweet_engine_image
|
||||||
data_template:
|
data_template:
|
||||||
tweet: >-
|
tweet: >-
|
||||||
|
@ -40,7 +39,6 @@
|
||||||
"/config/www/custom_ui/floorplan/images/branding/landscape_light.png",
|
"/config/www/custom_ui/floorplan/images/branding/landscape_light.png",
|
||||||
"/config/www/custom_ui/floorplan/images/branding/sunset.png"
|
"/config/www/custom_ui/floorplan/images/branding/sunset.png"
|
||||||
] | random }}
|
] | random }}
|
||||||
- delay: '00:{{ (range(1, 20)|random|int) }}:00'
|
|
||||||
- service: script.speech_engine
|
- service: script.speech_engine
|
||||||
data:
|
data:
|
||||||
call_dark_outside: 1
|
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