Removing entity_id for template sensors...not needed as of .115
This commit is contained in:
parent
4b5d259a33
commit
7e27d4b781
|
@ -151,55 +151,48 @@
|
||||||
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 }}
|
||||||
|
switches_count:
|
||||||
|
friendly_name: 'Number of Switches'
|
||||||
|
value_template: >-
|
||||||
|
{{ states.switch | list | count }}
|
||||||
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 }}
|
||||||
entities_count:
|
entities_count:
|
||||||
friendly_name: 'Number of Entities'
|
friendly_name: 'Number of Entities'
|
||||||
entity_id: []
|
|
||||||
value_template: >-
|
value_template: >-
|
||||||
{{ states | length }}
|
{{ states | length }}
|
||||||
hvac_action:
|
hvac_action:
|
||||||
friendly_name: 'HVAC Action'
|
friendly_name: 'HVAC Action'
|
||||||
entity_id: []
|
|
||||||
value_template: "{{states.climate.home.attributes.hvac_action}}"
|
value_template: "{{states.climate.home.attributes.hvac_action}}"
|
||||||
today_is:
|
today_is:
|
||||||
friendly_name: 'Today is'
|
friendly_name: 'Today is'
|
||||||
entity_id: []
|
|
||||||
value_template: "{{ ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'][now().weekday()] }}"
|
value_template: "{{ ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'][now().weekday()] }}"
|
||||||
holiday:
|
holiday:
|
||||||
friendly_name: 'Holiday'
|
friendly_name: 'Holiday'
|
||||||
entity_id: []
|
|
||||||
value_template: >-
|
value_template: >-
|
||||||
{% if states.calendar.holidays_in_united_states.state == 'on' %}
|
{% if states.calendar.holidays_in_united_states.state == 'on' %}
|
||||||
{{ states.calendar.holidays_in_united_states.attributes.message }}
|
{{ states.calendar.holidays_in_united_states.attributes.message }}
|
||||||
|
@ -210,7 +203,6 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
school_tomorrow:
|
school_tomorrow:
|
||||||
friendly_name: 'School Tomorrow'
|
friendly_name: 'School Tomorrow'
|
||||||
entity_id: []
|
|
||||||
value_template: >-
|
value_template: >-
|
||||||
{%- set test=(as_timestamp(now())+ (86400)) | timestamp_custom("%Y-%m-%d",true) %}
|
{%- set test=(as_timestamp(now())+ (86400)) | timestamp_custom("%Y-%m-%d",true) %}
|
||||||
{% if states.calendar.skylar_school.attributes.start_time == test + " 07:35:00" %}
|
{% if states.calendar.skylar_school.attributes.start_time == test + " 07:35:00" %}
|
||||||
|
|
Loading…
Reference in New Issue