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' - alias: 'Wind Speed Garage Door Check'
hide_entity: True # hide_entity: True
trigger: trigger:
- platform: numeric_state - platform: numeric_state
entity_id: sensor.dark_sky_wind_speed entity_id: sensor.dark_sky_wind_speed

View File

@ -8,7 +8,7 @@
# "*.*_sleep_hours": # "*.*_sleep_hours":
# unit_of_measurement: hours # unit_of_measurement: hours
# icon: mdi:sleep # icon: mdi:sleep
# #
# hidden: False # hidden: False
#------------------------------------------- #-------------------------------------------
sensor: sensor:
@ -62,3 +62,12 @@ automation:
"Keep on moving. Somebody just hit {{ states('sensor.steps') }} steps.", "Keep on moving. Somebody just hit {{ states('sensor.steps') }} steps.",
"#Fitness Tracking at home BY the home. 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"}} ] | 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 - service: mqtt.publish
data_template: data_template:
topic: 'ifttt/message' topic: 'ifttt/message'
payload: "{{ tweet }}" payload: >-
{{ tweet }}
retain: true retain: true
# - service: notify.BearStoneHA - service: notify.BearStoneHA
# data_template: data_template:
# message: >- message: >-
# {{ tweet }} #IOT #SmartHome {{ tweet }} #IOT #SmartHome
- service: ifttt.trigger
data_template: {"event":"facebook_tweet", "value1":"{{ tweet }}", "value2":"{{ value2 }}", "value3":"{{ value3 }}"}
# #
# - service: ifttt.trigger # - service: ifttt.trigger
# data_template: # data_template: