Removing entity_id for template sensors...not needed as of .115

This commit is contained in:
Jeffrey Stone 2020-09-23 12:52:23 -04:00
parent 4b5d259a33
commit 7e27d4b781
1 changed files with 4 additions and 12 deletions

View File

@ -151,55 +151,48 @@
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 }}
switches_count:
friendly_name: 'Number of Switches'
value_template: >-
{{ states.switch | list | count }}
camera_count:
friendly_name: 'Number of online Cameras'
entity_id: []
value_template: >-
{{ states.camera | list | count }}
entities_count:
friendly_name: 'Number of Entities'
entity_id: []
value_template: >-
{{ states | length }}
hvac_action:
friendly_name: 'HVAC Action'
entity_id: []
value_template: "{{states.climate.home.attributes.hvac_action}}"
today_is:
friendly_name: 'Today is'
entity_id: []
value_template: "{{ ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'][now().weekday()] }}"
holiday:
friendly_name: 'Holiday'
entity_id: []
value_template: >-
{% if states.calendar.holidays_in_united_states.state == 'on' %}
{{ states.calendar.holidays_in_united_states.attributes.message }}
@ -210,7 +203,6 @@
{% endif %}
school_tomorrow:
friendly_name: 'School Tomorrow'
entity_id: []
value_template: >-
{%- set test=(as_timestamp(now())+ (86400)) | timestamp_custom("%Y-%m-%d",true) %}
{% if states.calendar.skylar_school.attributes.start_time == test + " 07:35:00" %}