Cleared out all of the Entity_ID breaking Changes. #876

This commit is contained in:
ccostan 2020-09-17 20:34:57 -04:00
parent 2219e82166
commit c2c26fec1c
6 changed files with 1 additions and 29 deletions

View File

@ -8,19 +8,6 @@ sensor:
- platform: template
sensors:
last_alexa:
entity_id:
- media_player.bedroom
- media_player.carlos_2nd_echo
- media_player.front_room_flex
- media_player.justin_room
- media_player.kitchen
- media_player.living_room
- media_player.master_bathroom
- media_player.master_bedroom
- media_player.office
- media_player.paige_room
- media_player.tap
- media_player.upstairs
value_template: >
{{ states.media_player | selectattr('attributes.last_called','eq',True) | map(attribute='entity_id') | first }}

View File

@ -17,7 +17,6 @@ sensor:
sensors:
low_battery:
friendly_name: 'Low Battery'
entity_id: []
value_template: >
{%- set threshold = 15 -%}
{%- set domains = ['light', 'switch', 'sensor', 'zwave', 'lock', 'binary_sensor'] -%}

View File

@ -14,7 +14,6 @@ sensor:
sensors:
floorplan_date:
friendly_name: 'Date'
entity_id: []
value_template: >-
{{now().strftime("%A")}}, {{now().strftime("%B")}} {{now().strftime("%d")}}
@ -23,12 +22,10 @@ sensor:
sensors:
floorplan_time:
friendly_name: 'Time'
entity_id: []
value_template: >-
{{now().strftime("%-I")}}:{{now().strftime("%M")}} {{now().strftime("%p")}}
clock_time:
friendly_name: 'Clock Time'
entity_id: []
value_template: >-
{{now().strftime("%-I")}}:{{now().strftime("%M")}}
@ -37,16 +34,13 @@ sensor:
sensors:
clock_am_pm:
friendly_name: 'AM/PM'
entity_id: []
value_template: >-
{{now().strftime("%p")}}
clock_day:
friendly_name: 'Day'
entity_id: []
value_template: >-
{{now().strftime("%A")}}
clock_date:
friendly_name: 'Clock Date'
entity_id: []
value_template: >-
{{now().strftime("%B")}} {{now().strftime("%d")}} {{now().year}}

View File

@ -126,42 +126,35 @@ sensor:
sensors:
sensor_count:
friendly_name: 'Number of Sensors'
entity_id: []
value_template: >-
{{ states.sensor | list | count }}
automation_count:
friendly_name: 'Number of Automations'
entity_id: []
value_template: >-
{{ states.automation| list | count }}
script_count:
friendly_name: 'Number of Scripts'
entity_id: []
value_template: >
{{ states.script | list | count }}
binary_sensor_count:
friendly_name: 'Number of Binary Sensors'
entity_id: []
value_template: >-
{{ states.binary_sensor | list | count }}
tracker_count:
friendly_name: 'Number of Devices'
entity_id: []
value_template: >-
{{ states.device_tracker| list | count }}
lights_count:
friendly_name: 'Number of Lights'
entity_id: []
value_template: >
{{ states.light | list | count }}
protect_count:
friendly_name: 'Number of Smoke Detectors'
entity_id: []
value_template: >
{% if states('group.protects') == 'on' %}
{% for e in states.group.protects.attributes.entity_id if states(e) == 'on' %}
@ -174,7 +167,6 @@ sensor:
{% endif %}
camera_count:
friendly_name: 'Number of online Cameras'
entity_id: []
value_template: >
{{ states.camera | list | count }}
@ -312,7 +304,7 @@ automation:
- platform: time_pattern
hours: '/22'
minutes: 45
condition:
- condition: numeric_state
entity_id: automation.random_youtube_videos_ccostan

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 188 KiB

After

Width:  |  Height:  |  Size: 197 KiB