From 7d2ad2558a9e027ba21968504a81c475049503d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabor=20K=C3=B6rber?= <gab@g4b.org> Date: Tue, 1 Apr 2025 23:28:11 +0200 Subject: [PATCH] larry shows how cold it is outside --- larry/larry.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/larry/larry.yaml b/larry/larry.yaml index 9fc829b..e864b8b 100644 --- a/larry/larry.yaml +++ b/larry/larry.yaml @@ -728,6 +728,7 @@ light: restore_mode: ALWAYS_ON default_transition_length: 50ms +# MARK: Sensors sensor: - platform: aht10 # remove for no sensor version i2c_id: bus_b @@ -795,7 +796,7 @@ sensor: - platform: homeassistant name: "HA Weather Temperature" - entity_id: weather.home + entity_id: weather.forecast_home attribute: temperature id: ha_weather_temp @@ -877,7 +878,7 @@ text_sensor: - platform: homeassistant name: "Weather Condition" - entity_id: weather.home + entity_id: weather.forecast_home attribute: condition id: ha_weather_condition @@ -1987,9 +1988,9 @@ display: it.strftime(160, 88, id(my_font2), TextAlign::CENTER, "%l:%M%p", id(ha_time).now()); } // Temperature from Home Assistant weather entity - it.printf(240, 181, id(my_font4), light_blue, TextAlign::CENTER, "%.f°C", id(ha_weather_temp).state); + it.printf(240, 161, id(my_font4), light_blue, TextAlign::CENTER, "%.f°C", id(ha_weather_temp).state); // Weather condition (e.g. "partlycloudy", "sunny", etc.) - it.printf(240, 220, id(my_font4), light_blue, TextAlign::CENTER, "%s", id(ha_weather_condition).state.c_str()); + it.printf(240, 210, id(my_font4), light_blue, TextAlign::CENTER, "%s", id(ha_weather_condition).state.c_str()); // Device it.printf(80, 181, id(my_font4), light_blue, TextAlign::CENTER, "%.f°C", id(s3temp).state);