Replies: 2 comments 5 replies
-
I don't have time to have a good look but don't forget that objects are in layers and then in an order within the layer. Any object below another object (whether between layers or withint the layer) will not be clickable. Easy way to test is just find something you can't click and send that to the top of the top layer and see what happens |
Beta Was this translation helpful? Give feedback.
-
Looking at it a bit more closely I think you might have overlap of the objects and also I think you have more complexity than you potentially need. Have a look at this thread which might promote some ideas #177 You will see you have two options for handling the non-rectangular shaped room images: using clip-paths (which I dont use so I wont be much help to you) and using another touch pointed shaped object which controls an input_boolean entity and is linked via an automation to the state of the room lights. If you go the clip path option I think you can potentially simplify things as follows. If you look at floor 1 you have your front porch object labelled as |
Beta Was this translation helpful? Give feedback.
-
Hi again! I've got my three floors set up on separate views and all seem to be properly linking all SVG elements to entities. The basement is 100% working as expected, but I'm having inconsistent results with my other 2 floors: Binary sensors all are responding as expected, but only some devices/rooms are showing as clickable on hover or responding to clicks/state change. For example, my living room, nursery, and basement lights all respond to clicks & update but the other rooms in the house do not. My light icons also do not seem to be updating properly, although they are appearing as clickable.
SVGs: floorplan.zip
YAML:
Beta Was this translation helpful? Give feedback.
All reactions