Edit esp-entrancebathrmlights.yaml

This commit is contained in:
ESPHome Device Builder
2026-06-28 00:02:28 +12:00
parent 9342616e33
commit 15e9903b91
+3 -3
View File
@@ -251,10 +251,10 @@ text_sensor:
lambda: |- lambda: |-
int seconds = 0; int seconds = 0;
if (id(Relay_2).state && id(fan_timer_counting_down)) { // Only show the countdown while the timer is actually operating.
// If the timer is not operating, always show 00:00.
if (id(fan_timer_counting_down)) {
seconds = id(fan_timer_remaining_seconds); seconds = id(fan_timer_remaining_seconds);
} else {
seconds = 0;
} }
if (seconds < 0) { if (seconds < 0) {