Needed to ensure by not available sensor truncates....
This commit is contained in:
parent
01f8af52be
commit
70eb88e91f
|
@ -158,15 +158,6 @@
|
||||||
duration:
|
duration:
|
||||||
days: 30
|
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
|
# Amazon Polly Sensors to see last message and location of audible notification
|
||||||
- platform: mqtt
|
- platform: mqtt
|
||||||
name: "Jarvis Last Msg"
|
name: "Jarvis Last Msg"
|
||||||
|
@ -217,7 +208,7 @@
|
||||||
na_entities:
|
na_entities:
|
||||||
friendly_name: 'NA Entities'
|
friendly_name: 'NA Entities'
|
||||||
value_template: >-
|
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:
|
na_entities_count:
|
||||||
friendly_name: 'Number of NA Entities'
|
friendly_name: 'Number of NA Entities'
|
||||||
value_template: >-
|
value_template: >-
|
||||||
|
|
Loading…
Reference in New Issue