neilimixamo / Home-Assistant-Quick-Look-Mobile

118 stars 6 forks source link

ButtonCardJSTemplateError #26

Open assc000 opened 6 months ago

assc000 commented 6 months ago

11

neilimixamo commented 6 months ago

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

assc000 commented 6 months ago

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?

ramseys1990 commented 6 months ago

Modify these files directly and not through the UI.

assc000 commented 6 months ago

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

neilimixamo commented 6 months ago

The only file containing the term "alarm_controlpanel.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?

kinkamez commented 4 months ago

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.