Replies: 1 comment
-
Okay I've worked out what was going on, but will leave this here for anyone else. How to create a climate entity: Now to create the climate folder and entity:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can't figure out why the standard Thermostat card is throwing up an error n the UI.
Not very experienced with YAML but I've successfully got all other cards I've tried to work - I've literally copied and pasted the Usage code and only changed the entity and I'm receiving the following error:
ButtonCardJSTemplateError: TypeError: Cannot read properties of undefined (reading 'includes') in 'var areas =[]; if
(states[entity.entity_id].attributes.hvac_modes.includes("auto")) {...'
Might be something simple but I've tried it on a few different pages with different sensor entities and I get the same error.
I've checked the Template code for that card and it looks ok to my untrained eye and I can't imagine why I'd be getting an error if it works for everyone else.
Would appreciate some help thanks
Beta Was this translation helpful? Give feedback.
All reactions