I think we are close now #285
This commit is contained in:
parent
aa7fdf6457
commit
936a4ea475
|
@ -13,14 +13,23 @@ sensor:
|
||||||
value_template: >
|
value_template: >
|
||||||
{%- set domains = ['device_tracker'] -%}
|
{%- set domains = ['device_tracker'] -%}
|
||||||
{%- for domain in domains -%}
|
{%- for domain in domains -%}
|
||||||
{%- for item in states[domain] if (item.attributes.source_type is defined and item.state != 'home') -%}
|
{%- for item in states[domain]
|
||||||
|
if (item.attributes.source_type is defined and item.state != 'home' and item.attributes.friendly_name not in
|
||||||
|
[
|
||||||
|
'Chromecast Audio 2',
|
||||||
|
'Entry Alarm Panel',
|
||||||
|
'Dash Button',
|
||||||
|
'Master Bedroom Roku',
|
||||||
|
'Wii',
|
||||||
|
'Withings Scale'
|
||||||
|
]) -%}
|
||||||
{{ item.attributes.friendly_name }}
|
{{ item.attributes.friendly_name }}
|
||||||
{%- if not loop.last -%}
|
{%- if not loop.last -%}
|
||||||
{{', '}}
|
{{', '}}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
#-------------------------------------------
|
|
||||||
group:
|
group:
|
||||||
network:
|
network:
|
||||||
entities:
|
entities:
|
||||||
|
@ -31,15 +40,16 @@ group:
|
||||||
- sensor.speedtest_download
|
- sensor.speedtest_download
|
||||||
- sensor.speedtest_upload
|
- sensor.speedtest_upload
|
||||||
- binary_sensor.carlowink
|
- binary_sensor.carlowink
|
||||||
|
- sensor.network
|
||||||
#-------------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------------
|
||||||
automation:
|
automation:
|
||||||
- alias: 'Device Status'
|
- alias: 'Device Status'
|
||||||
hide_entity: True
|
hide_entity: True
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id:
|
entity_id:
|
||||||
- sensor.network
|
- sensor.network
|
||||||
|
- binary_sensor.carlowink
|
||||||
|
|
||||||
action:
|
action:
|
||||||
- service: script.notify_engine
|
- service: script.notify_engine
|
||||||
|
@ -48,6 +58,6 @@ automation:
|
||||||
value3: "{{ trigger.to_state.state }}"
|
value3: "{{ trigger.to_state.state }}"
|
||||||
who: 'carlo'
|
who: 'carlo'
|
||||||
|
|
||||||
- service: script.speech_engine
|
# - service: script.speech_engine
|
||||||
data_template:
|
# data_template:
|
||||||
value1: "The following Devices are in an Offline state {{ trigger.to_state.state }}"
|
# value1: "The following Devices are in an Offline state {{ trigger.to_state.state }}"
|
||||||
|
|
|
@ -47,11 +47,6 @@ sensor:
|
||||||
monitored_conditions:
|
monitored_conditions:
|
||||||
- chime_level
|
- chime_level
|
||||||
|
|
||||||
- platform: template
|
|
||||||
sensors:
|
|
||||||
skybell:
|
|
||||||
value_template: "{{ 'Online' if is_state_attr('binary_sensor.skybell_stone_door_button', 'status', 'up') else 'Offline' }}"
|
|
||||||
|
|
||||||
switch:
|
switch:
|
||||||
- platform: skybell
|
- platform: skybell
|
||||||
monitored_conditions:
|
monitored_conditions:
|
||||||
|
|
Loading…
Reference in New Issue