I have dashboard with area cards laid out for each room in my house. I like the way it shows the overall state of lights being on or off in the room. A single tap of the light icon turns the lights on or off.
However this is no longer working, instead presents an error in a notification near the bottom of the browser as follows:
Failed to call service light.turn_off. must contain at least one of entity_id, deviced_id, area_id.
I then went to the developer area to call a service and chose the light turn off and selected the same area and it works just fine. So it seems that there is a problem with the UI calling this? The reason I say UI more generically as I have entity cards that are linked to scenes and I get a similar message:
Failed to call service scene/turn_on. must contain at least one of entity_id, device_id, area_id.
It’s a bit early in the release cycle for me to move up to 2022.11 just yet, but in this case, I have gone for it and tried 2022.11.1, same issue unfortunately, so I will go raise a bug report.
I’ve tried creating a new dashboard with just the area card on it and no joy. It’s not just the lights, the switch for devices gives the same error. So the issue doesn’t seem device dependant.
There has been an update on the GitHub issue logged, it would appear that this problem (and others) is caused by a small error in the HoneyComb HACS Front End add on. Not sure if others could cause it, but the developer has issued an update 0.10.1 which resolves the issue.
Following the update, I can confirm my area card buttons work again.
same issue here without the honeycomb front end. The service call for turn off works fine, but the turn on service is not working…not even show in logs… The “light” in the card area still on even with the light off