Fixed Automation Off. Also fixed MQTT Clock displays thanks to @matt2005 - Closes #294 & #270.

This commit is contained in:
ccostan
2018-01-04 18:14:41 -05:00
parent 423e1fbaff
commit e59f9072fe
7 changed files with 15 additions and 9 deletions

View File

@@ -120,6 +120,7 @@ automation:
action:
- service: automation.turn_off
entity_id: automation.random_house_stats
- delay: '0{{ range(0,2) | random | int }}:{{ range(10,59) | random | int }}:00'
- service: script.tweet_engine
data_template:
@@ -144,3 +145,5 @@ automation:
"Average Cloud Coverage: {{states.sensor.dark_sky_cloud_coverage.state}}%, Average Temp: {{states.sensor.dark_sky_temperature.state}}°F #Solar"
] | random + " #RandomStat"}}
- service: automation.turn_on
entity_id: automation.random_house_stats