Clooos / Bubble-Card

Bubble Card is a minimalist card collection for Home Assistant with a nice pop-up touch.
MIT License
1.97k stars 57 forks source link

v2.3.0-beta.6 Climate card HVAC Sub Button Icons doesn't change #924

Open NdR91 opened 3 hours ago

NdR91 commented 3 hours ago

First of all, as usual, I want to thanks @Clooos for this great card. Your work is really appreciated.

Describe the bug
When specifying the Icon of the HVAC sub button, the card seems to ignore it and keeping the default one (mdi:fire)

To Reproduce
Steps to reproduce the behavior:

  1. Create a new Popup
  2. Add a Climate Bubble Card
  3. Change the default sub-button icon

Expected behavior
A changed icon based on the previous select.

Screenshots

SCR-20241116-jicr

YAML
If applicable, add any relevant YAML code.

type: vertical-stack
cards:
  - type: custom:bubble-card
    card_type: pop-up
    hash: "#climate"
    button_type: name
    name: Termostati
    icon: mdi:home-thermometer
  - type: custom:bubble-card
    card_type: climate
    entity: climate.piano_camere
    sub_button:
      - entity: switch.termostato_p1
        name: Stato
        icon: mdi:fire
      - name: HVAC modes menu
        select_attribute: hvac_modes
        state_background: false
        show_arrow: false
        icon: mdi:power
        show_icon: true
    icon: mdi:home-floor-1
    show_state: false
    show_attribute: true
    attribute: hvac_action

Informations (please complete the following information):

Thank you! 🍻

Clooos commented 2 hours ago

Hi, I will take a look at this 👌