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

Text color of time didn't update on status change Bug #2461

Open
bb27k opened this issue Jan 20, 2025 · 0 comments
Open

Text color of time didn't update on status change Bug #2461

bb27k opened this issue Jan 20, 2025 · 0 comments
Labels
Bug Identifies an issue where the system is not functioning as expected.

Comments

@bb27k
Copy link

bb27k commented Jan 20, 2025

TFT Version

No response

Firmware Version

No response

Blueprint Version

v4.3.12

Panel Model

US

What is the bug?

Hello,

I use this code for changing the color of time on the home screen

time_label_color: |- {% if is_state("sensor.rte_tempo_couleur_actuelle", "Bleu") -%} [0, 0, 255] {%- elif is_state("sensor.rte_tempo_couleur_actuelle", "Blanc") -%} [255, 255, 255] {%- else -%} [255, 0, 0] {%- endif %}

This code works properly but only when i save the blueprint, if the entity state change, the time_label_color doesn't update automaticly.

I use the same code for home_value01_icon_color and it works as expected.

home_value01_icon_color: |- {% if is_state("sensor.rte_tempo_couleur_actuelle", "Bleu") -%} [0, 0, 255] {%- elif is_state("sensor.rte_tempo_couleur_actuelle", "Blanc") -%} [255, 255, 255] {%- else -%} [255, 0, 0] {%- endif %}

Steps to Reproduce

No response

Your Panel's YAML

ESPHome Logs

No response

Home Assistant Logs

No response

@bb27k bb27k added the Bug Identifies an issue where the system is not functioning as expected. label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Identifies an issue where the system is not functioning as expected.
Projects
None yet
Development

No branches or pull requests

1 participant