Some updates to how things happen when we wake up. Some more twitter fixes.

This commit is contained in:
ccostan
2018-01-11 15:11:52 -05:00
parent 07af6889b9
commit 31d7be1362
5 changed files with 30 additions and 10 deletions

View File

@@ -75,7 +75,7 @@ automation:
data_template:
tweet: >
{{ [
"The #Chevy Bolt Charged for {{(states.sensor.carlojuice_charge_time.state | int /60) | round() }} minutes and Juiced up add {{states.sensor.carlojuice_energy_added.state |int /1000}} KwHs.",
"The #Chevy Bolt Charged for {{(states.sensor.carlojuice_charge_time.state | int /60) | round() }} minutes and Juiced up {{states.sensor.carlojuice_energy_added.state |int /1000}} KwHs.",
"The last charging session was {{(states.sensor.carlojuice_charge_time.state | int /60) | round() }} minutes. Added {{states.sensor.carlojuice_energy_added.state |int /1000}} KwHs ",
"The Juice Box Pro added {{states.sensor.carlojuice_energy_added.state |int /1000}} KwHs to the #Chevy #BoltEV in {{(states.sensor.carlojuice_charge_time.state | int /60) | round() }} minutes."
] | random + " (http://amzn.to/2zlQIUI) #Electric #Solar"}}

View File

@@ -86,7 +86,7 @@ automation:
{% set location = trigger.event.data.location %}
{% set phrases = [
"Thanks for the Follow " ~ handle ~ "! Chirp the Bird from " ~ location ~ "!!",
"Hey " ~ handle ~ "Thanks for the Follow from " ~ location ~ " !",
"Hey " ~ handle ~ "! Thanks for the Follow from " ~ location ~ " !",
"New follower " ~ handle ~ " from " ~ location ~ ", I just sounded a chirp in the house.",
"Boom! The " ~ location ~ " follow from " ~ handle ~ " makes me sound a chirp in the house.",
"Wanna know who is super cool? "~ handle ~" IS!!! Thanks for making me CHIRP!",