Hi,
I'm creating a Bubble Card Button>Switch>Climate, for my Thermostat Valve (entity: climate.salon).
And instead of displaying the "climate.salon" current_temperature attribute, I would like to display the entity "climate.smart_thermostat_x" current_temperature attribute.
I tried to put in YAML :
attribute: hass.states['climate.smart_thermostat_x'].attribute.current_temperature (as explained in the README)
But nothing happens, and even the card is hiding if I validate.
Could you help please ?
Otherwise, the full YAML for my card (without the attribute option) is :
`type: custom:bubble-card
card_type: climate
sub_button:
- name: HVAC modes menu
select_attribute: hvac_modes
state_background: false
show_arrow: false
show_icon: true
show_name: false
show_last_changed: false
state_color: true
show_attribute: true
show_state: false
entity: climate.salon
tap_action:
action: perform-action
perform_action: climate.toggle
target:
entity_id: climate.salon
`
Thanks a lot,
Cress
Hi,
I'm creating a Bubble Card Button>Switch>Climate, for my Thermostat Valve (entity: climate.salon).
And instead of displaying the "climate.salon" current_temperature attribute, I would like to display the entity "climate.smart_thermostat_x" current_temperature attribute.
I tried to put in YAML :
attribute: hass.states['climate.smart_thermostat_x'].attribute.current_temperature(as explained in the README)But nothing happens, and even the card is hiding if I validate.
Could you help please ?
Otherwise, the full YAML for my card (without the attribute option) is :
`type: custom:bubble-card
card_type: climate
sub_button:
select_attribute: hvac_modes
state_background: false
show_arrow: false
show_icon: true
show_name: false
show_last_changed: false
state_color: true
show_attribute: true
show_state: false
entity: climate.salon
tap_action:
action: perform-action
perform_action: climate.toggle
target:
entity_id: climate.salon
`
Thanks a lot,
Cress