Agreed. I’m working with the cb-lcars-label-card and it only works with states, not attributes. Since the current_temperature is an attribute of my climate sensor I have to move it to be the state of a template sensor so I can render it on my cb-lcars-label-card.
type: custom:cb-lcars-label-card
cblcars_card_type: cb-lcars-label
show_label: true
variables:
card:
height: 7vh
label: Temperature:
entity: sensor.template_living_room_temp
text:
label:
justify: flex-start
align_items: center
align: left
state:
justify: flex-end
align_items: center
align: left
tap_action:
action: none
double_tap_action:
action: none
hold_action:
action: none
show_state: true
show_name: false
units: F
show_units: false
I’d love to find a way to jinja template the content of the label-card but I’ve not found a way and I’m not sure it supports it.
If you want to include the °F in the state so that it shows on the card exactly how you want it to, then you’ll need to remove the unit_of_measurement from the template sensor definition.