Open stiw47 opened 1 year ago
Does other custom pop up cards work like the light card? Because I have this error also on the light card.
Hey, yes, sorry I forgot to mention above. I already commented regarding that here (and in above posts), my Light Card popup is working as expected.
I'm having issues with this as well. Light and media pop ups work just fine. I can generally get it working by replacing the template code but after rebooting HA it will stop working again.
LOGS:
button-card.js?hacstag=146194325342:425 ButtonCardJSTemplateError: TypeError: entity.attributes.hvac_modes.toLowerCase is not a function in 'var areas = [];
if (variables.ulm_card_thermostat_preset_mode){
if (entity.attribute...'
at Je.eval (eval at _evalTemplate (button-card.js?hacstag=146194325342:425:9295),
Describe the bug As in the title.
To Reproduce Click on Thermostat card icon to call the popup.
Expected behavior Thermostat popup should appear, together with slider, controls, etc.
Screenshots
Additional context Instructed to open the issue by @basbruss here.
Please find below the logs and conf requested. Please let me know if you need some additional info, the card and the popup card are default ones, i.e:
/config/workspace/custom_components/ui_lovelace_minimalist/__ui_minimalist__/ulm_templates/card_templates/cards/card_thermostat.yaml
and
/config/workspace/custom_components/ui_lovelace_minimalist/__ui_minimalist__/ulm_templates/popup_templates/popups/popup_thermostat_temperature.yaml
Browser’s dev-console log (this log was generated just with single click on card icon, i.e. call the popup):
Thermostat Card on lovelace: