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 - platform: template
sensors: sensors:
last_alexa: 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: > value_template: >
{{ states.media_player | selectattr('attributes.last_called','eq',True) | map(attribute='entity_id') | first }} {{ states.media_player | selectattr('attributes.last_called','eq',True) | map(attribute='entity_id') | first }}

View File

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

View File

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

View File

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