dataset_set: what is it for? #576
Replies: 2 comments 4 replies
-
|
I have been able to place all 3 floors at position 0 and then change the class of each floor to only show that floor when required. But I want to be able to click on a room and then zoom into that room. I have managed to acheive the required functionality within a browser - but wanted this functionality in HA. |
Beta Was this translation helpful? Give feedback.
-
|
Thats actually a good idea – toggle layers on/off in Inkscape, can become a real pain sometimes. But I'd need to look into it, at some point. I'll try and give you a idea or two, once I get time to do so - if other people aren't able to come up with a suggestion. You're very much able to manipulate the SVG with JavaScript, so it's possibly not that difficult. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to setup a panel for each floor of my floorplan. The SVG contains all 3 floors - each floor is positioned at a different x position e.g. 0 , 1000 and 2000). I was hoping to change the viewBox attribute to show the appropriate floor depending on the panel selected.

I was hoping to use the dataset_set service....but this does not do what I hoped.
Beta Was this translation helpful? Give feedback.
All reactions