Navigating within a Dashboard #321
-
|
Hi there, I want to set up a rather simple "floorplan", where the "floorplan" is just the outside view of my house. I've overlayed that image (in the svg file) with transparent rectangles that align with the groundfloor and the 1st floor of my house. From here, all I want to do, is to navigate to a secondary dashboard view (I do not want to leave Home Assistant). That secondary view would then contain information about the different rooms and entities on the respective floor. My code is: A couple of notes:
Perhaps I misunderstood something that was being said in #181, but I was under the impression that all HA native actions should work, no? If this does not work (yet), I think it would be a great addition! I know that I could create a secondary "floorplan" for the two floors and have it all done within the floorplan card, but then I'm missing out on some of the other integrations/layouts that I'd like to utilize. So this, for me, would really be ideal. Thanks for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 12 replies
-
|
OK - sorry, just figured it out. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, I want to add a tap action for each temperature element to open a specific view (a pop-up card from bubble cards). I assume this is because rules can only be applied to all entities in a 'group', but not to each element separately. Is this correct? But for some reason, this doesn't work. I tried to pass the element.id variable to the floorplan.text_set service and it works. But it does not work with the navigate service. It navigates to the literal string: /dashboard-mobile/tloris#${element.id} What am I missing here? Why is the element.id not passed to the navigation_path? Any help is much appreciated! |
Beta Was this translation helpful? Give feedback.
-
|
I do this You should be able to change it to navigate though…. edit: worst case scenario you can just create a rule for each entity instead of having them all grouped together |
Beta Was this translation helpful? Give feedback.
-
|
Fulfilled with release: https://github.com/ExperienceLovelace/ha-floorplan/releases/tag/1.0.41 |
Beta Was this translation helpful? Give feedback.
OK - sorry, just figured it out.
got to write it like this: