Some Powerwall logic #547, #779

This commit is contained in:
ccostan
2020-06-30 14:28:05 -04:00
parent f50f3a126d
commit da330c6be4
4 changed files with 72 additions and 10 deletions

View File

@@ -9,6 +9,11 @@
- platform: sun
event: sunset
offset: "-00:20:00"
condition:
- condition: template
value_template: "{{ states('sensor.grid_status') == 'True' }}"
action:
- delay: '00:{{ (range(1, 20)|random|int) }}:00'
- service: script.tweet_engine_image