More and more troubleshooting

This commit is contained in:
ccostan 2018-01-12 13:33:07 -05:00
parent fb32a708c9
commit 118b87e480
3 changed files with 21 additions and 7 deletions

View File

@ -3,7 +3,7 @@
###################################
- alias: 'Wind Speed Garage Door Check'
hide_entity: True
# hide_entity: True
trigger:
- platform: numeric_state
entity_id: sensor.dark_sky_wind_speed

View File

@ -8,7 +8,7 @@
# "*.*_sleep_hours":
# unit_of_measurement: hours
# icon: mdi:sleep
#
#
# hidden: False
#-------------------------------------------
sensor:
@ -62,3 +62,12 @@ automation:
"Keep on moving. Somebody just hit {{ states('sensor.steps') }} steps.",
"#Fitness Tracking at home BY the home. Somebody just hit {{ states('sensor.steps') }} steps"
] | random + " Battery Level:{{ states('sensor.one_battery') }} #Self #Data"}}
- service: script.speech_engine
data_template:
value1: >
{{ [
"Somebody just hit {{ states('sensor.steps') }} steps on the #Fitbit!",
"Keep on moving. Somebody just hit {{ states('sensor.steps') }} steps.",
"#Fitness Tracking at home BY the home. Somebody just hit {{ states('sensor.steps') }} steps"
] | random + " Battery Level:{{ states('sensor.one_battery') }} #Self #Data"}}

View File

@ -9,13 +9,18 @@ tweet_engine:
- service: mqtt.publish
data_template:
topic: 'ifttt/message'
payload: "{{ tweet }}"
payload: >-
{{ tweet }}
retain: true
# - service: notify.BearStoneHA
# data_template:
# message: >-
# {{ tweet }} #IOT #SmartHome
- service: notify.BearStoneHA
data_template:
message: >-
{{ tweet }} #IOT #SmartHome
- service: ifttt.trigger
data_template: {"event":"facebook_tweet", "value1":"{{ tweet }}", "value2":"{{ value2 }}", "value3":"{{ value3 }}"}
#
# - service: ifttt.trigger
# data_template: