Closed fin05 closed 6 months ago
duplicates #132
I read that previously - it reduces the margin some but doesn't now alleviate the issue of the icon being too big - that fix does not work in my scenario
I read that previously - it reduces the margin some but doesn't now alleviate the issue of the icon being too big - that fix does not work in my scenario
i see. what kind of mod are you using to span clock-weather-card over multiple columns? i am under the impression that this is no lovelace default layout, or?
The dashboard is a grid layout. The card is a single column grid card - I'm using it on my dashboard for a touch screen kiosk
can you please provide your full lovelace yaml so that i can reproduce the problem?
views:
title: Home path: overview icon: '' visible:
square: false type: grid title: Lights & Doors cards:
type: custom:mushroom-entity-card icon_color: blue layout: vertical secondary_info: none icon_type: icon icon: mdi:sofa tap_action: action: navigate navigation_path: '#livingroom' name: Main Area fill_container: false entity: switch.main_area card_mod: style: | ha-card { --icon-size: 0px; --card-primary-font-size: 15px; height: 40px !important; } ha-state-icon { --icon-symbol-size: 20px; padding-top: 17px; }
type: custom:mushroom-entity-card icon_color: red layout: vertical secondary_info: none icon_type: icon icon: mdi:silverware-fork-knife tap_action: action: navigate navigation_path: '#kitchen' name: Kitchen fill_container: false hold_action: action: none double_tap_action: action: none entity: switch.kitchen_lights card_mod: style: | ha-card { --icon-size: 0px; --card-primary-font-size: 15px; height: 40px !important; } ha-state-icon { --icon-symbol-size: 20px; padding-top: 17px; }
type: custom:mushroom-entity-card icon_color: deep-purple layout: vertical secondary_info: none icon: cil:imac-alternative tap_action: action: navigate navigation_path: '#office' name: Office hold_action: action: none double_tap_action: action: none icon_type: icon entity: switch.office_light card_mod: style: | ha-card { --icon-size: 0px; --card-primary-font-size: 15px; height: 40px !important; } ha-state-icon { --icon-symbol-size: 20px; padding-top: 17px; }
type: custom:mushroom-entity-card icon_color: green layout: vertical secondary_info: none icon: mdi:bed-king tap_action: action: navigate navigation_path: '#master' name: Master Suite icon_type: icon entity: switch.master_suite card_mod: style: | ha-card { --icon-size: 0px; --card-primary-font-size: 15px; height: 40px !important; } ha-state-icon { --icon-symbol-size: 20px; padding-top: 17px; }
type: custom:mushroom-entity-card icon_color: deep-orange layout: vertical secondary_info: none icon_type: icon icon: mdi:theater tap_action: action: navigate navigation_path: '#theater' name: Theater entity: switch.theater_room_lights card_mod: style: | ha-card { --icon-size: 0px; --card-primary-font-size: 15px; height: 40px !important; } ha-state-icon { --icon-symbol-size: 20px; padding-top: 17px; }
type: custom:mushroom-entity-card icon_color: blue-grey layout: vertical secondary_info: none icon_type: icon icon: mdi:garage-variant tap_action: action: navigate navigation_path: '#garage' name: Garage entity: switch.garage_light card_mod: style: | ha-card { --icon-size: 0px; --card-primary-font-size: 15px; height: 40px !important; } ha-state-icon { --icon-symbol-size: 20px; padding-top: 17px; }
type: custom:mushroom-entity-card icon_color: yellow layout: vertical secondary_info: none icon_type: icon icon: mdi:weather-sunny tap_action: action: navigate navigation_path: '#outside' name: Outside entity: switch.outside_lights card_mod: style: | ha-card { --icon-size: 0px; --card-primary-font-size: 15px; height: 40px !important; } ha-state-icon { --icon-symbol-size: 20px; padding-top: 17px; }
type: custom:mushroom-entity-card icon_color: white secondary_info: none icon_type: icon icon: mdi:bed tap_action: action: navigate navigation_path: '#guest' name: 'Guest ' fill_container: false layout: vertical hold_action: action: none double_tap_action: action: none entity: switch.guest_rooms card_mod: style: | ha-card { --icon-size: 0px; --card-primary-font-size: 15px; height: 40px !important; } ha-state-icon { --icon-symbol-size: 20px; padding-top: 17px; }
type: custom:mushroom-entity-card entity: cover.garage_big_door_door icon_color: green layout: horizontal secondary_info: state icon_type: icon icon: mdi:garage-variant tap_action: action: toggle name: Big Door fill_container: false card_mod: style: | ha-card { --icon-size: 0px; --card-primary-font-size: 15px; height: 40px !important; } ha-state-icon { --icon-symbol-size: 25px; padding-top: 0px; }
type: custom:mushroom-entity-card entity: cover.smart_garage_small_door icon_color: green layout: horizontal secondary_info: state icon_type: icon icon: mdi:garage tap_action: action: toggle name: Small Door fill_container: false card_mod: style: | ha-card { --icon-size: 0px; --card-primary-font-size: 15px; height: 40px !important; } ha-state-icon { --icon-symbol-size: 25px; padding-top: 0px; }
type: custom:mushroom-entity-card entity: lock.frdrlk layout: horizontal secondary_info: state icon_type: icon icon: mdi:lock tap_action: action: toggle name: Front Door fill_container: false icon_color: green card_mod: style: | ha-card { --icon-size: 0px; --card-primary-font-size: 15px; height: 40px !important; } ha-state-icon { --icon-symbol-size: 25px; padding-top: 0px; }
type: custom:mushroom-entity-card
entity: automation.aldi
layout: horizontal
secondary_info: none
icon_type: none
icon: mdi:lock
tap_action:
action: none
fill_container: false
icon_color: green
primary_info: none
hold_action:
action: none
double_tap_action:
action: none
card_mod:
style: |
ha-card {
--icon-size: 0px;
--card-primary-font-size: 15px;
height: 40px !important;
}
ha-state-icon {
--icon-symbol-size: 25px;
padding-top: 0px;
}
columns: 6
square: false type: grid title: Entertainment cards:
show_name: true show_icon: true type: button entity: script.living_room_plex icon: mdi:plex hold_action: action: none icon_height: 20px name: Start Plex tap_action: action: call-service service: script.open_plex target: {} card_mod: style: | ha-card { height: 50px !important; }
show_name: true show_icon: true type: button tap_action: action: navigate navigation_path: /dashboard-plex/0 entity: sensor.exos_router_kib_s_received name: Plex Movies icon: mdi:movie-roll hold_action: action: none icon_height: 20px card_mod: style: | ha-card { height: 50px !important;
show_name: true show_icon: true type: button tap_action: action: navigate navigation_path: /dashboard-plex/tv-shows entity: sensor.exos_router_kib_s_received name: Plex TV icon: mdi:television-classic hold_action: action: none icon_height: 20px card_mod: style: | ha-card { height: 50px !important;
show_name: true show_icon: true type: button tap_action: action: navigate navigation_path: /d5369777_music_assistant_beta entity: sensor.exos_router_kib_s_received icon: mdi:music hold_action: action: none icon_height: 20px name: 'Jukebox ' card_mod: style: | ha-card { height: 50px !important;
show_name: true show_icon: true type: button entity: media_player.denon_avr_x1300w icon: mdi:audio-video hold_action: action: none name: Reciever icon_height: 20px show_state: false card_mod: style: | ha-card { height: 50px !important; columns: 5
square: false type: grid card_mod: style: | ha-card { height: 130px !important; } cards:
type: custom:mushroom-vacuum-card entity: vacuum.mayhem_vac layout: vertical commands: [] card_mod: style: | ha-card {
height: 130px !important;
}
the snippet above does not contain clock-weather-card
Checklist:
Release with the issue:
Last working release (if known):
Browser and Operating System: Chrome and Firefox
Description of problem: The sun/moon icon is way too big and making the height of the card take up too much space - I need a way to reduce the size of it and reclaim the lost space
Javascript errors shown in the web inspector (if applicable):
Additional information: