@mayker Just wanted to say thank you for CCH as it has made my system so much more user friendly.
@ptdalen I use a similar method of redirects to make my Lovelace more usable. My interface is a work in progress as until CCH and Lovelace came along it was too difficult to make a friendly and easy to navigate interface for my large system.
But basically I hid most of the tabs for areas I don’t need immediate access too. Kept a few important ones un hidden that I want to get to with one tap/click. The main summary page has the most frequently used items.
To make redirect buttons I used entity buttons with a dummy Mqtt switch for the entity and then used navigation paths. There may be a better way if doing that now but that still works for me so I haven’t changed it.
You can do similar with picture element cards I think.
Hi @mayker here’s a suggestion can you make the tab colour change if a entity changes. Eg: my doors/windows have opened change tab colour to red and when closed change it back to white.
Great work by the way .
2 Likes
mayker
(maykar (pronounced "maker" with a southern accent))
544
I like that a lot, configurable tab notifications. Will work on it, no promises though.
@cameron@sleeepy2 great idea! I just did something similar with borders for active alerts/notifications/etc. you might find useful here and live demo @01:20:47 on @DrZzs show interview . Any questions you can catch me in Discord DinoTech#4236 as not intending to hijack @mayker 's thread
1 Like
mayker
(maykar (pronounced "maker" with a southern accent))
549
This is just a test…
This one’s going to be some work, but it’s too cool. Thanks @cameron!
I could see this being used as an alert indicator, perhaps when there is a hidden notification in the options menu? Or any custom condition triggered by an automation.
1 Like
mayker
(maykar (pronounced "maker" with a southern accent))
558
So this is the current idea for the config of this feature. This should show how this will loosely work.
conditional_styles:
entity: input_boolean.testing # Any entity
condition:
equals: off # string to compare entity's state to
# If the state is a number you could also use one or both of the following
greater_than: 20 # not to be used with "equals:"
less_than: 50 # not to be used with "equals:"
# what elements to change
button:
menu: red
background:
color: blue
image: url(/local/background.jpg)
I’m thinking about icon changes as well, but this all is really just a thought right now and is subject to change. Will most likely extend entity to also include entity attributes, not just state.
2 Likes
mayker
(maykar (pronounced "maker" with a southern accent))
559
I like the idea of this tapping into notifications like you suggested. Probably with just “notification: true” as a condition.
Edit: That doesn’t really make sense. The notification might make more sense as an entity. So something more like:
conditional_styles:
entity: notification
background:
color: red