Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cooling colour set incorrectly #141

Open
keni8em opened this issue Nov 22, 2023 · 5 comments
Open

Cooling colour set incorrectly #141

keni8em opened this issue Nov 22, 2023 · 5 comments

Comments

@keni8em
Copy link

keni8em commented Nov 22, 2023

After setting up a smart mini-fridge, I noticed that the better-thermostat-ui-card is displaying the wrong colour for the cooling hvac mode.
On inspection of "better-thermostat-ui-card.js" the problem lies in the following code:

.cool {
        --mode-color: var(--label-badge-red);

I suggest changing this code to "--label-badge-blue"
See the attached image showing that the cooling thermostat is displaying red rather than blue.

Screenshot from 2023-11-22 02:14:43

@laborek
Copy link

laborek commented Nov 27, 2023

up!

@laborek
Copy link

laborek commented Dec 2, 2023

@keni8em did u change this by yourself ?

@Duke-Box
Copy link

Why is the HVAC mode Heat now showing Blue? Has someone hacked this?

@keni8em
Copy link
Author

keni8em commented Dec 13, 2023 via email

@macbih
Copy link

macbih commented Feb 1, 2024

Is there any fix for this issue yet?

I am using a generic_thermostat for a RPI Cooling Fan Controller and I wonder why the color is also red instead of blue. Its one and only function is to cool the Pi with a fan. This is my code:

climate:

  # https://community.home-assistant.io/t/rpi4-fan-control/610597

  - platform: generic_thermostat
    name: RPI Cooling Fan Controller
    unique_id: rpi_cooling_fan_controller
    heater: switch.rpi_cooling_fan
    target_sensor: sensor.system_monitor_processor_temperature
    min_temp: 40
    max_temp: 80
    ac_mode: true
    target_temp: 50
    cold_tolerance: 0.5
    hot_tolerance: 0.5
    min_cycle_duration:
      seconds: 120
    keep_alive:
      minutes: 5
    initial_hvac_mode: "cool"

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants