chrjs
1
Hi, after the current version (2025.3) brought more new features to the Tile Card, I wanted to start migrating my Mushroom Cards to Tile…
But I already have a problem understanding the first Light Card.
Is it not possible to hide the brightness slider when the lamp is not switched on?
Top: mushroom light card
Bottom: Tile card
features:
- type: light-brightness
type: tile
entity: light.buero_bars
features_position: bottom
vertical: false
name: Büro Bars
hide_state: true
show_entity_picture: false
If its not possible without any addons, thats fine, but then I’ll just keep the mushroom cards…
Cheers
I agree, I’d like this too, found this feature request:
1 Like
chrjs
3
Ah … damn. I didn’t found anything to this. Thanks!
I wanted to migrate my Mushrooms cards to the Tile one but just like you, without this hide option, I’ll not migrate.
This is an option with card_mod
features:
- type: light-brightness
type: tile
entity: light.night_stand
vertical: false
hide_state: false
features_position: bottom
card_mod:
style:
hui-card-features $:
hui-card-feature $:
hui-light-brightness-card-feature $: |
ha-control-slider {
display: {{ 'none' if is_state(config.entity, 'off') else 'block' }}
}
1 Like
Good start. The problem is that the vertical space of the card stay the same with or without hiding
I am not sure why you are getting different results. The code works as I described
