neilimixamo / Home-Assistant-Quick-Look-Mobile

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ButtonCardJSTemplateError

assc000 opened this issue · comments

Hello, I don't recognize where the code you're displaying as an error comes from. Is it an error that appears after a fresh installation or did you make any modifications in the yaml files before this error showed up? Can you provide the full error message? It seems to suggest that you haven't specified an 'alarm' entity under the 'variables' key. Try to replace 'null' by an existing alarm entity_id

image

I did not make any changes after the new installation. I have no way to modify the entity. Because we can't find this file. The UI can not be edited because of errors?

Modify these files directly and not through the UI.

Sorry, I can't find the wrong file, because I don't know much about it.

The only file containing the term "alarm_control_panel.alarm_" is located in "quick_look_mobile/templates/footers/alarm_footer (v2.0.1).yaml" but this file does not contain the lines "card_size: 3" or "show_live_stream: false", which leads me to believe that your error is somehow the result of a mix between several dashboards. Can you specify if you have adapted some steps of the installation tutorial in your own way and if so, how?

I faced the same error today with a fresh install. It was caused by not providing the entity in dashboards/quick_look_mobile/views/2.2_security_cameras (v2.0.0).yaml in the # FOOTER section.