@ -33,13 +33,10 @@ automation:
- alias: 'Tweet Solar Production'
hide_entity: false
trigger:
- platform: state
- platform: sun
entity_id: sun.sun
event: sunset
to: 'below_horizon'
offset: '+01:00:00'
from: 'above_horizon'
action:
- delay: '0{{ range(1,3) | random | int }}:{{ range(0,5) | random | int }}{{ range(0,9) | random | int }}:{{ range(0,5) | random | int }}{{ range(0,9) | random | int }}'
- service: script.tweet_engine_image
data_template:
tweet: >-
Before
Width: | Height: | Size: 152 KiB
After
Width: | Height: | Size: 133 KiB
Powered by TurnKey Linux.