-
-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Checklist:
- I updated to the latest version available
- I cleared the cache of my browser
Release with the issue:
v1.0.0
Last working release (if known):
Browser and Operating System:
View dashboard: Windows 11 / Chrome
HA Server: Home Asisstant Yellow
Description of problem:
Using the property "fill_container: true" doesn't fill the container.
Reason is most likely because the default "fill_container" property adds a class to the card that sets its height to 100%, however, with decluttering card, there is now an extra level of DOM depth, so technically it works, it's just setting it to 100% of the wrong container (namely the decluttering component, which is not taking the full height of its container)
Javascript errors shown in the web inspector (if applicable):
Additional information:
decluttering_templates:
lights-for-room:
card:
type: custom:mushroom-light-card
entity: '[[entity]]'
name: '[[name]]'
layout: vertical
use_light_color: false
show_brightness_control: true
collapsible_controls: true
show_color_temp_control: false
icon_color: amber
fill_container: true
card_mod:
style: |
ha-card {
{% if states(config.entity)=='on' %}
--card-mod-icon: mdi:lightbulb-group;
--ha-card-background: rgba(var(--rgb-amber), 0.8);
--primary-text-color: black;
--secondary-text-color: black;
--control-height: 24px;
--control-border-radius: 5px;
{% else %}
--card-mod-icon: mdi:lightbulb-group-outline;
{% endif %};
}
mushroom-light-brightness-control {
--slider-bg-color: var(--card-background-color) !important;
}
ha-card>mushroom-card>mushroom-state-item>mushroom-shape-icon {
--shape-color: var(--card-background-color) !important;
--icon-size: 56px;
}
double_tap_action:
action: navigate
navigation_path: /lovelace/[[navigation]]
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working