UI icon indicating copy to clipboard operation
UI copied to clipboard

Room-Card. Climate as main entity does not change color state

Open javixuwi opened this issue 1 year ago • 0 comments

Describe the bug When I set a climate entity on a room-card, when it is 'on' (cooling/heating) the icon does not changes the color state. On template part, I sete 'yellow_on'. It works with other entities as lights.

To Reproduce Steps to reproduce the behavior:

  1. Set climate entity as main entity on room-card
  2. Set yellow_on or another color template
  3. Turn on your climate thermostat or whatever cooling or heating.
  4. The color state of the card don't change

Expected behavior It may change to yellow icon.

Screenshots imagen imagen

Additional context The yaml config code of the card:

- type: "custom:button-card" template: - card_room - yellow_on name: Salón label: > [[[ return "🌡️ " + states["sensor.sensor_th_salon_temperature"].state + "°C" + " 💧 " + states['sensor.sensor_th_salon_humidity'].state + " %" ]]] entity: climate.termostato_salon icon: mdi:sofa variables: label_use_temperature: false label_use_brightness: false entity_1: entity_id: light.ambiente templates: - yellow_on tap_action: action: toggle entity_2: entity_id: light.luz_comedor templates: - yellow_on tap_action: action: toggle entity_3: entity_id: light.luz_sofa icon: mdi:wall-sconce-flat templates: - yellow_on tap_action: action: toggle entity_4: entity_id: cover.persiana_salon tap_action: action: more-info

javixuwi avatar Nov 04 '23 20:11 javixuwi