nielsfaber / alarmo-card

Home Assistant card for controlling the Alarmo component
98 stars 18 forks source link

Alarmo card - Invalid configuration provided for entity #33

Closed Tchitan closed 2 years ago

Tchitan commented 2 years ago

Hi. I am running Home Assistant 2022.4.7 on a virtual machine on a Synology NAS, Alarmo V.1.8.7 and Alarmo Card 1.2.3. I have the Alarmo card instaled in \config\www\community\alarmo-card

image

but when I add the card to the dashboard it doesn't work. I get an error message "Invalid configuration provided for entity"

image

Thanks for your help. And thank you for the great work you do!

nielsfaber commented 2 years ago

Click edit and choose which alarm entity you want to use.

Tchitan commented 2 years ago

I am sorry but I don't understand what you mean. I can only change the name, nothing else.

image

flyman1664 commented 2 years ago

Hello, same issue on my side image

nielsfaber commented 2 years ago

I made a release v1.3.0 over one month ago: image

However I see I released it wrongly, as a result it is not visible in HACS. I will correct the release. This will solve your issues as I can see that a field is missing (due to the card version not being compatible with the HA version).

Edit: I just made v1.3.0 release (again), please update and check if it solves the issue.

Tchitan commented 2 years ago

I updated to 1.3 but now I can't add it to the dashboard. I see only the alarm panel card, not the alarmo. I refreshed the browser and also restarted HA.

image
Richdem commented 2 years ago

I have exactly the same issue,

I have installed Alarmo & the V1.3.0 custom card on a test machine and my actually HA machine both running the latest version of HA 2022.4.7. When I try to add a card to my dashboard I only see the standard alarm panel card and not the custom card. I even tried manually installing the custom card but it still did not work

nielsfaber commented 2 years ago

You can verify whether the card was installed correctly by consulting your browser logs:

If alarmo-card is not mentioned here, you need to register it as a frontend resource. Note that the installed version is also shown here, it should show v1.3.0 (otherwise your browser cache needs to be cleared).

If all went fine the card should show up as option when adding a new card to the dashboard (this is assuming you are maintaining your dashboard in UI mode, not YAML mode):

The custom cards are all the way in the bottom of the list.

Finally you need to edit the card settings and assign the correct entity to it:

If any of these steps don't work, go back to the browser logs and check for any errors involving the alarmo-card. No errors means no issue which I can solve for you.

So far none of the issues mentioned by any of you indicates that there is a bug in alarmo-card. This is not the right place for asking for help on installation, use the HA forum thread instead (people other than me might be able to help you as well).

flyman1664 commented 2 years ago

Hi, since the update I'm facing same issue. There is no Alarmo card display. image

Here is the error log alarmo-issue

Richdem commented 2 years ago

You can verify whether the card was installed correctly by consulting your browser logs: If alarmo-card is not mentioned here, you need to register it as a frontend resource. Note that the installed version is also shown here, it should show v1.3.0 (otherwise your browser cache needs to be cleared).

If all went fine the card should show up as option when adding a new card to the dashboard (this is assuming you are maintaining your dashboard in UI mode, not YAML mode): The custom cards are all the way in the bottom of the list.

Finally you need to edit the card settings and assign the correct entity to it:

If any of these steps don't work, go back to the browser logs and check for any errors involving the alarmo-card. No errors means no issue which I can solve for you.

So far none of the issues mentioned by any of you indicates that there is a bug in alarmo-card. This is not the right place for asking for help on installation, use the HA forum thread instead (people other than me might be able to help you as well).

Thank you for replying,

I did post this issue on the HA forum as well. I will have a look at your suggestions later today

Richdem commented 2 years ago

Suddenly it starter working in Chrome but I get the following in Firefox image

Richdem commented 2 years ago

OK This is really weird,

I went back to Firefox which is the browser I always use for HA and cleared the cash again (I did this multiple times yesterday) and now it's working, I reinstalled the custom card this morning, did something change overnight?

flyman1664 commented 2 years ago

I have installed previous version and the card is available. As soon as I try to update or if I make fresh installation of the new version, the panel card is not available and same error is diplayed into error log.

image

EDIT: Ok I have done manual installation by uploading the card js to config/www and adding ressources. I think there is an issue with auto installation as the folder alarmo-card is in community folder.

Richdem commented 2 years ago

I have installed previous version and the card is available. As soon as I try to update or if I make fresh installation of the new version, the panel card is not available and same error is diplayed into error log.

image

EDIT: Ok I have done manual installation by uploading the card js to config/www and adding ressources. I think there is an issue with auto installation as the folder alarmo-card is in community folder.

The weird thing is I tried a manual installation twice yesterday on 2 different machines, neither worked. Today I deleted the custom card from my test machine, re installed it and cleared my browser cache again and it worked.

erdzan12 commented 2 years ago

You have to append manually this to the yaml file of the alarmo card by clicking on SHOW CODE EDITOR

entity: alarm_control_panel.alarmo

The entity name depends on your installation

Tchitan commented 2 years ago

You have to append manually this to the yaml file of the alarmo card by clicking on SHOW CODE EDITOR

entity: alarm_control_panel.alarmo

The entity name depends on your installation

When I tried to create a new Alarmo card I got this error

image

but adding the entity line to the card solved it. Thanks. For me now everything is working fine. Great work, thank you.