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

@ -7,7 +7,7 @@ homeassistant:
customize_glob:
"input_select.log_*":
icon: mdi:bug
hidden: False
#-------------------------------------------
@ -42,5 +42,5 @@ automation:
homeassistant.components: "{{ states.input_select.log_level.state }}"
- service: script.tweet_engine
data:
data_template:
tweet: "My logging level has just been set to {{ states.input_select.log_level.state }}"

View File

@ -7,7 +7,7 @@ homeassistant:
input_boolean.lastmsg:
friendly_name: 'Repeat Message'
icon: mdi:repeat-once
hidden: False
#-------------------------------------------
input_boolean:

View File

@ -23,6 +23,10 @@ notify:
### Building out some Historical stats for tweeting. #####################
sensor:
- platform: mqtt
state_topic: "ifttt/message"
name: "ifttt formatted message"
- platform: history_stats
name: Doorbell Presses
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:
# action:
# service: script.speech_engine
# message:
# speech_message:
# # @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
######################################################################################################
@ -44,7 +44,7 @@ speech_processing:
- service: switch.turn_on
entity_id: switch.living_room_amp
- service: media_player.volume_set
data_template:
entity_id: >

View File

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