Room-Card. Climate as main entity does not change color state
javixuwi opened this issue · 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:
- Set climate entity as main entity on room-card
- Set yellow_on or another color template
- Turn on your climate thermostat or whatever cooling or heating.
- The color state of the card don't change
Expected behavior
It may change to yellow icon.
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