Ich habe das jetzt noch etwas anders gemacht, weil die ganzen Räume einfach zuviel Platz
benötigen. Deswegen habe ich das in eine tabbed-card
eingebaut
Code is too big for share here… i can sent it to you as a file
This is only one climate card
square: false
type: grid
columns: 1
cards:
- type: custom:stack-in-card
cards:
- type: custom:mushroom-climate-card
entity: climate.wz
name: WZ
icon: bha:thermostat
secondary_info: state
show_temperature_control: true
card_mod:
style:
mushroom-shape-icon$: |
.shape {
--shape-color: rgb(255, 191, 0, 0.2) !important;
}
mushroom-climate-temperature-control$:
mushroom-input-number$: |
.value {
font-size: 18px;
color: rgb(255, 191, 0, 0.9) !important;
}
#container .button:nth-child(1) {
--card-mod-icon-color: rgb(255, 191, 0, 0.85);
}
#container .button:nth-child(3) {
--card-mod-icon-color: rgb(255, 191, 0, 0.85);
}
.: |
ha-state-icon {
color: rgb(255, 191, 0, 0.8);
--icon-symbol-size: 25px;
}
- type: custom:mushroom-chips-card
chips:
- type: entity
entity: sensor.wand_wz_temperature
- type: entity
entity: sensor.wand_wz_humidity
- type: entity
entity: sensor.wz_temperature
alignment: end
card_mod:
style: |
ha-card {
background: none !important;
border: 0px transparent solid !important;
--primary-text-color: grey;
--text-color: grey;
--chip-background: transparent !important;
--chip-height: 44px;
--chip-border-radius: 20%;
--chip-border-color: transparent;
--chip-icon-size: 16px;
--chip-font-size: 13px;
--chip-spacing: -18px !important;
position: absolute;
top: 12px;
right: 10px;
}
- square: false
type: grid
cards:
- type: custom:mushroom-number-card
entity: input_number.heizung_wz_nacht
display_mode: buttons
secondary_info: none
icon_color: amber
name: night
card_mod:
style:
mushroom-number-value-control$:
mushroom-input-number$: |
.minus {
display: none !important;
}
.plus {
display: none !important;
}
mushroom-state-info$: |
.container {
--card-secondary-font-size: 13px;
--card-primary-font-size: 13px;
}
.: |
mushroom-number-value-control {
pointer-events: none;
}
ha-card {
font-variant: small-caps;
}
- type: custom:mushroom-number-card
entity: input_number.heizung_wz_eco
display_mode: buttons
fill_container: false
secondary_info: none
icon_color: amber
name: eco
card_mod:
style:
mushroom-state-info$: |
.container {
--card-secondary-font-size: 13px;
--card-primary-font-size: 13px;
}
.: |
ha-card {
font-variant: small-caps;
}
- type: custom:mushroom-number-card
entity: input_number.heizung_wz_comfort
display_mode: buttons
secondary_info: none
icon_color: amber
name: comf
card_mod:
style:
mushroom-number-value-control$:
mushroom-input-number$: |
.minus {
display: none !important;
}
.plus {
display: none !important;
}
mushroom-state-info$: |
.container {
--card-secondary-font-size: 13px;
--card-primary-font-size: 13px;
}
.: |
mushroom-number-value-control {
pointer-events: none;
}
ha-card {
font-variant: small-caps;
}
columns: 3
- type: entities
entities:
- type: custom:mushroom-chips-card
alignment: center
chips:
- type: entity
entity: automation.heizung_wz
icon_color: amber
name: AUTO
use_entity_picture: false
content_info: name
card_mod:
style: |
ha-card {
background: rgb(144,144,144, 0.3)!important;
--chip-font-size: 11px;
--primary-text-color: rgb(211,211,211, 0.7);
--text-color: rgb(211,211,211, 0.7);
}
- type: entity
entity: switch.wz
icon_color: amber
name: TRV
use_entity_picture: false
content_info: name
card_mod:
style: |
ha-card {
background: rgb(144,144,144, 0.3)!important;
--chip-font-size: 11px;
--primary-text-color: rgb(211,211,211, 0.7);
--text-color: rgb(211,211,211, 0.7);
}
- type: entity
entity: input_boolean.heizung_wz_comfort
icon_color: amber
name: COMF
use_entity_picture: false
content_info: name
card_mod:
style: |
ha-card {
background: rgb(144,144,144, 0.3)!important;
--chip-font-size: 11px;
--primary-text-color: rgb(211,211,211, 0.7);
--text-color: rgb(211,211,211, 0.7);
}
- type: entity
entity: input_boolean.heizung_wz_eco
icon_color: amber
name: ECO
use_entity_picture: false
content_info: name
card_mod:
style: |
ha-card {
background: rgb(144,144,144, 0.3)!important;
--chip-font-size: 11px;
--primary-text-color: rgb(211,211,211, 0.7);
--text-color: rgb(211,211,211, 0.7);
}
state_color: true
show_header_toggle: true