thomasloven / lovelace-template-entity-row

🔹 Display whatever you want in an entities card row.
MIT License
210 stars 16 forks source link

State is 'off' if not set after 1.3.0 #106

Closed bcutter closed 4 months ago

bcutter commented 1 year ago

This was looking fine until 1.3.0:

type: custom:template-entity-row
name: '* TextTextText'
secondary: 'Text'
icon: none
active: false

giving expected

grafik

Since 1.3.1/1.3.2 (currently running 1.3.2) the same code gives

grafik

To sum up: if no entity is specified and state is not set, state always defaults to off instead of showing nothing.

Workaround: Use state: ''

type: custom:template-entity-row
name: '* TextTextText'
secondary: 'Text'
state: ''
icon: none
active: false
ildar170975 commented 1 year ago

Confirmed: image