This doesn't make any sense to me. At All.

This commit is contained in:
ccostan 2018-01-12 13:01:51 -05:00
parent 3f1f1f58b7
commit fb32a708c9
5 changed files with 24 additions and 17 deletions

View File

@ -42,5 +42,5 @@ automation:
homeassistant.components: "{{ states.input_select.log_level.state }}" homeassistant.components: "{{ states.input_select.log_level.state }}"
- service: script.tweet_engine - service: script.tweet_engine
data: data_template:
tweet: "My logging level has just been set to {{ states.input_select.log_level.state }}" tweet: "My logging level has just been set to {{ states.input_select.log_level.state }}"

View File

@ -23,6 +23,10 @@ notify:
### Building out some Historical stats for tweeting. ##################### ### Building out some Historical stats for tweeting. #####################
sensor: sensor:
- platform: mqtt
state_topic: "ifttt/message"
name: "ifttt formatted message"
- platform: history_stats - platform: history_stats
name: Doorbell Presses name: Doorbell Presses
entity_id: binary_sensor.skybell_stone_door_button entity_id: binary_sensor.skybell_stone_door_button

View File

@ -2,7 +2,7 @@
###Script to actually send notifications to the ChromeCast Audios during normal hours and only when we are home! Call like this: ###Script to actually send notifications to the ChromeCast Audios during normal hours and only when we are home! Call like this:
# action: # action:
# service: script.speech_engine # service: script.speech_engine
# message: # speech_message:
# # @CCOSTAN # # @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig # Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
###################################################################################################### ######################################################################################################

View File

@ -6,17 +6,20 @@
tweet_engine: tweet_engine:
sequence: sequence:
- service: notify.BearStoneHA - service: mqtt.publish
data_template: data_template:
message: >- topic: 'ifttt/message'
{{ tweet }} #IOT #SmartHome payload: "{{ tweet }}"
retain: true
# - service: notify.BearStoneHA
# data_template:
- service: ifttt.trigger # message: >-
data_template: # {{ tweet }} #IOT #SmartHome
event: >- #
facebook_tweet # - service: ifttt.trigger
value1: > # data_template:
{% set facebook_tweet = tweet %} # event: >-
{{ facebook_tweet }} #IOT #SmartHome # facebook_tweet
# value1: >
# {{states.sensor.ifttt_formatted_message.state}} #IOT #SmartHome