Skip to content

The icon color of the climate card cannot change with the air conditioning mode. #1691

Description

@zyi840449

Describe the bug
The icon color of the climate card cannot change with the air conditioning mode.
(but the Constant background color can have different colors depending on the air conditioning mode)

Expected behavior
When using cooling mode, the background color will turn blue;
When using heating mode, the background color will turn red.

But the icon is always yellow, and it will turn gray if the device is turned off.
The icon color should match the background color, right?
For example, when using the air-conditioning mode, it should also be blue.

Screenshots

Image

YAML

  - type: custom:bubble-card
    card_type: climate
    entity: climate.living_air_conditioner
    card_layout: large
    show_state: true
    state_color: true
    show_attribute: true
    scrolling_effect: false
    attribute: current_temperature
    button_action: {}
    modules:
    sub_button:
      - select_attribute: fan_modes
        show_arrow: false
        show_background: true
        state_background: false
        visibility:
          - condition: state
            entity: climate.living_air_conditioner
            state_not: "off"
      - select_attribute: hvac_modes
        show_arrow: false
        show_background: true
        state_background: false

Thank you! 🍻

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstale

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions