Replies: 1 comment 2 replies
|
Hi @jpbaril, order:
- item: "Dashboard"
exact: true
hide: trueWill match a dashboard that its text is exactly
About this:
You should not do that, check the seventh bullet point in the above screenshot. For your use case you have two options:
One observation, this config: order:
- item: 'Dashboard - Device 1'
name: 'Dashboard'
hide: falseMeans: match the item that its text contains |

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi, and sorry for asking again questions twice the same day.
As previously mentioned, I'm building a specific dashboard per device.
I managed to make these specific dashboards to be the default one on each associated device using
exceptions.Now I want to hide these specific dashboards on devices that are not targeted in any 'exception'.
In reality my questions is more one out of curiosity on the best/cleanest way to do something as in the end I do have working options I can fall back to even if not ideal.
Here are the options I thought about and tested.
Does not work. It was my first idea and would have been the 'cleanest'.
Does not work. Adding hide: false is not enough to make the item appear in the sidebar if it was first hidden through Home Assistant sidebar item's visibility toggle.
new_item:true.Works, but makes the config bigger and I need to first go make each one invisible with HA sidebar built-in feature.
Works, but again makes the config a bit bigger.
So, in the end I mostly I ask because from what I had read about the
exact:parameter in the docs I thought my option # 1 would have worked.I might use option 4 as that way every action/factor only occurs in custom-sidebar config.
Thank you again
All reactions