So glad I came across this on Reddit! I was looking into ui-minimalist and whilst I am a Software Engineer by trade it was just too time consuming handling all the yaml by hand for my basic needs to just create a nice but simple mobile UI. This gives me a very similar look at a fraction of effort (and time) so thanks!
I do have a couple questions/thoughts though:
For my lights section I currently have a vertical stack with 3 horizontal stacks containing 3 light cards in each, essentially a 3 x 3 grid with a square per room. I do like the brightness/temp bar but ideally Iād see that hidden until that light/group is turned on, that would then show the brightness bar for that card. Some lights are used less than others so at the moment having the bar shown constantly for all of them takes up quite a lot of mobile screen space.
I canāt seem to find out how youāve got the alarm card to hide the PIN panelā¦ I just want a nice alarm square with arm/disarm buttons like in your screenshot as we donāt use the PIN but I canāt find out how.
It would be handy to be able to set the secondary information of an entity card to a custom template. For my use case Iām using the entity card to display a climate entity - which clicks through to a temps page. Currently it only allows me to show the state as secondary which in this case is āAutoā where in reality I want that to display the current thermostat temperature. Iāve swapped the card to a normal entity one for now to do it but it be good to have it built in so all my cards look the same. Or even better if I could change the icon to the current temp! I also have a doorbell ālast rangā entity but ideally the card would show a combination of the last rang entity and the battery entity so I could have it all in the one card so it would be handy for that too without needing to use custom-card.
icon_color: |-
{% set state=states('light.tims_office_lamp_2_sengled') %}
{% if state=='on' %}
green
{% elif state=='off' %}
blue
{% else %}
red
{% endif %}
you got me wrong
this code works for me: {{ '#ff9800' if is_state('light.alle_lichter','on') else '' }}
but since i want to add it to a few cards iĀ“d like to get rid of light.alle_lichter and replace it with something like entity_id so i donĀ“t have to change it for every card.
Hi
To celebrate the new 2022.4 HA version, letās introduce the new update card in 1.4.0 Mushroom version! Update entities are supported as well by the entity card and entity chip.
Just wondering if someone can help me with a small thing using this.
I have a title card where I use a subtitle with:
Currently it is {{ state_attr(āweather.homeā, ātemperatureā) }}ĀŗC and {{ states(āweather.homeā) }} outside.
This render as:
Currently it is 7.3ĀŗC and partlycloudy outside.
How do I handle that states(āweather.homeā) in terms of splitting the string to āpartly cloudyā instead of it displaying as is? (which is what the state is). Does anyone know? I went through the HASS documentation but this isnāt clear at all for me.
I find these cards very easy to use, but I think it would be beneficial if there were a few examples of customisations with the code available on the documentation.
Looks like youāve got control of how to use icons Do you know how I can have the icons show up nicely both in light and dark themes? So in the dark theme they should be white and in the light theme the icon should be dark.
Is there a mushroom button card or work around for just links to another dashboard ? After watching Zak Barratt, it became clear that we donāt really want to use an entity to open another dashboard to a room for example when just a button and the same type of icon theme would suffice.
The Home Assistant Button card looks massive and out of place when everything else is all mushroom as you can see.
My bad
So I have defined icon color to be white and it looks great in my dark theme. When I toggle to light theme the icon is white and so is the background. So my question is how I can have the color of the icon change dynamic depending on if the theme is light or dark.
Something like picking up the color of the icon dynamically like this pseudo code icon-color: var(--icon-color)
If still unclear then letās move on and skip this one
Edit:
Realize that this might be an issue that I only have outside of Mushroom so letās leave it there