Adding in all the sensors to monitor the Second Hue Hub - #86

This commit is contained in:
CCOSTAN
2017-02-28 03:57:57 +00:00
parent b3c9176b83
commit de61d8f21e
5 changed files with 28 additions and 14 deletions

View File

@@ -6,9 +6,10 @@
hide_entity: True
trigger:
- platform: state
entity_id:
entity_id:
- sensor.wii
- sensor.hue_hub
- sensor.Hue_Hub_1
- sensor.Hue_Hub_2
- sensor.tablotv
- sensor.alexa_echo
- sensor.amazon_dot
@@ -30,15 +31,14 @@
#- sensor.withings_scale
- sensor.smart_water_meter
- sensor.sleep_number_bed
action:
- service: script.ifttt_notify
data_template:
value1: 'Device Status:'
value2: "{{ trigger.entity_id.split('.')[1]|replace('_', ' ') }} is "
value3: "{{ trigger.to_state.state }}"
- service: script.Voice_notify
data_template:
value1: "{{ trigger.entity_id.split('.')[1]|replace('_', ' ') }} is now {{ trigger.to_state.state }}"