Needed to ensure by not available sensor truncates....

This commit is contained in:
Jeffrey Stone 2021-08-15 16:49:57 -04:00
parent 01f8af52be
commit 70eb88e91f
1 changed files with 1 additions and 10 deletions

View File

@ -158,15 +158,6 @@
duration:
days: 30
- platform: history_stats
name: Front Door Motion
entity_id: binary_sensor.aarlo_motion_front_door
state: 'on'
type: count
end: '{{ now() }}'
duration:
days: 7
# Amazon Polly Sensors to see last message and location of audible notification
- platform: mqtt
name: "Jarvis Last Msg"
@ -217,7 +208,7 @@
na_entities:
friendly_name: 'NA Entities'
value_template: >-
{{ states | selectattr('state', 'eq', 'unavailable') | map(attribute='entity_id') | list }}
{{ states | selectattr('state', 'eq', 'unavailable') | map(attribute='entity_id') | list | truncate(250, False) }}
na_entities_count:
friendly_name: 'Number of NA Entities'
value_template: >-