neilimixamo / Home-Assistant-Quick-Look-Mobile

118 stars 6 forks source link

ButtonCardJSTeplateError #19

Closed xADDRx closed 1 year ago

xADDRx commented 1 year ago

Hi guys,

can anyone help me.

i have this error:

grafik

neilimixamo commented 1 year ago

Hi @xADDRx, these errors occur when the entity states don't match the expected values.

Header is not displaying because it seems that the state of "sensor.some_alarms_are_on" is not returning "on" or "off", but rather "undefined". Could you please check the state of this sensor in the developer tools and tell me what you see ?

The same principle applies to the two cover cards. Could you please check if your cover entities are returning "open" or "closed" states in the developer tools?

image

neilimixamo commented 1 year ago

Hi, did the above suggestion help you fix this issue ?

xADDRx commented 1 year ago

Yes Thank You!