ha-floorplan icon indicating copy to clipboard operation
ha-floorplan copied to clipboard

[BUG] Cannot find '*' in Home Assistant entities

Open exetico opened this issue 1 year ago • 9 comments

Describe the bug As part of the cleanup of the old * ha-floorplan entity in Home Assistant, it's not possible to use that, to trigger on every entity. It was not meant to be like that, at the time I did some changes a few releases back.

Right now, the user cannot use the * as a entity key, to listen for changes on every entity.

To Reproduce Steps to reproduce the behavior:

  1. Add a rule with entity: '*' as the selector for the entity
  2. Save and see the log error

Expected behavior We expect ha-floorplan to hook up to every entity change in the rule.e

Screenshots

image

Additional context Are also part of ha-floorplan v. 1.0.40.

exetico avatar Dec 03 '23 16:12 exetico

Is there a way to solve that and not reintroduce the problem we previously had that led to its removal?

OzGav avatar Dec 03 '23 20:12 OzGav

Hopefully. I didn't found time to check today. It won't be a thing, it thats reintroduced, for sure. But I really doubt it. I just need to find some time, in order to take the best path 😊.

exetico avatar Dec 03 '23 21:12 exetico

Hi.

I have the same problem with HA 2024.04. I have done many tests and it always gives the same error that it cannot find the entity in the SVG.

Any solution or workaround?

Thanks

joseaguardia avatar Apr 12 '24 16:04 joseaguardia

Sadly, no @joseaguardia, as I've not found time to work with it.

I'd like to ask: Did you just update Home Assistant, and faced the issue after the update, or maybe both ha-floorplan and Home Assistant? :-)

exetico avatar Apr 12 '24 16:04 exetico

Sadly, no @joseaguardia, as I've not found time to work with it.

I'd like to ask: Did you just update Home Assistant, and faced the issue after the update, or maybe both ha-floorplan and Home Assistant? :-)

Both the component and HA are in the latest version. I hope you have time to solve it, the project looks very good

Regards

joseaguardia avatar Apr 12 '24 16:04 joseaguardia

@joseaguardia why do you need to monitor every entity?

OzGav avatar Apr 13 '24 02:04 OzGav

@OzGav I don't understand you well. I don't want to monitor all the entities, just some like the lights, as it appears in the manual

joseaguardia avatar Apr 13 '24 07:04 joseaguardia

Then you have added to an issue that is not relevant to you. Open a discussion in that area and we will help you there

OzGav avatar Apr 13 '24 07:04 OzGav

Good catch @OzGav, I didn't think it was a XZ problem.

@joseaguardia Lets have a fresh discussion from you, with the problem you're facing. Try and make it clear, what you're trying to do, and why thats important/needed. Hopefully we're able to help you out. The solution you describes would be more than possible to do, without using *.

Just follow up in a new discussion, and mention the issue ref there 👍.

exetico avatar Apr 13 '24 07:04 exetico