- entity_id: '*_sensor_light_level'
options:
type: custom:template-entity-row
name: >
{% if state_attr(config.entity,'friendly_name') is not none %}
{{state_attr(config.entity,'friendly_name').split(' sensor light level')[0]}}
{% else %} Tbd
{% endif %}
no longer shows the name: template.
worked just fine before (not sure which change, but either updating to HA 2021.8, or migrating the sensors this template uses to the new template: integration)
dev tools template using the identical template works ok:
no longer shows the
name:
template.worked just fine before (not sure which change, but either updating to HA 2021.8, or migrating the sensors this template uses to the new template: integration)
dev tools template using the identical template works ok:
and the more-info also shows the correct details:
rest of the config works ok