I currently have something like this to sew my air conditioner status:
type: entities
entities:
- type: custom:mushroom-climate-card
entity: climate.master_zone
hvac_modes: []
icon_type: icon
tap_action:
action: more-info
hold_action:
action: none
double_tap_action:
action: toggle
show_temperature_control: true
collapsible_controls: false
secondary_info: none
layout: horizontal
fill_container: true
icon: mdi:fan
primary_info: last-changed
title: Main Bedroom
header:
type: picture
I wanted to show the status of the damper so I can see how much stuff is coming through
{{ states(‘sensor.master_zone_damper_open_percentage’) }}%
I tried to put it into secondary_info But I cannot see where that is displayed. How can I get this ideally into where the two hours ago indicator is?
I don’t believe the Mushroom Climate Card will accept template statements.
Here are a few methods
Less Complicated
type: custom:mushroom-climate-card
entity: climate.master_zone
hvac_modes: []
icon_type: icon
tap_action:
action: more-info
hold_action:
action: none
double_tap_action:
action: toggle
show_temperature_control: true
collapsible_controls: false
secondary_info: none
layout: horizontal
fill_container: true
icon: mdi:fan
primary_info: none
card_mod:
style:
mushroom-shape-icon$: |
.shape:after {
content: " {{states('sensor.master_zone_damper_open_percentage')}}% ";
position: absolute;
left: 50px;
width: 35px;
height:15px;
background-color: transparent !important;
font-size: 18px;
color: white;
}
More Complicated
type: custom:stack-in-card
mode: horizontal
cards:
- type: custom:mushroom-climate-card
entity: climate.master_zone
primary_info: none
secondary_info: none
card_mod:
style: |
ha-card {
left: -30px;
border: none;
background: none;}
- type: custom:mushroom-template-card
primary: |
{{states('sensor.master_zone_damper_open_percentage')}}%
icon: ""
card_mod:
style: |
ha-card {
top: 10px;
left: -80px;
border: none;
background: none;}
- type: custom:mushroom-climate-card
entity: climate.master_zone
primary_info: none
icon: ""
show_temperature_control: true
layout: horizontal
secondary_info: none
card_mod:
style: |
mushroom-state-item {
display: none;
}
ha-card {
top: 10px;
border: none;
background: none;}
card_mod:
style: |
ha-card {
border: 1px solid rgba(180,180,180 .3);}
Going forward I would post your Mushroom questions here or here