larry updates

This commit is contained in:
Gabor Körber 2025-04-03 10:51:44 +02:00
parent 7d2ad2558a
commit 6158841696
12 changed files with 43 additions and 17 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Binary file not shown.

View File

@ -879,7 +879,6 @@ text_sensor:
- platform: homeassistant - platform: homeassistant
name: "Weather Condition" name: "Weather Condition"
entity_id: weather.forecast_home entity_id: weather.forecast_home
attribute: condition
id: ha_weather_condition id: ha_weather_condition
@ -1441,14 +1440,26 @@ font:
- "\U000F1A1B"#gas - "\U000F1A1B"#gas
- "\U000F1C3B"#battery charging/usb powered - "\U000F1C3B"#battery charging/usb powered
- "\U000F1C6F"#info - "\U000F1C6F"#info
- "\U000F0590" # weather-sunny - "\U000F0599" # weather-sunny
- "\U000F0591" # weather-partly-cloudy - "\U000F0595" # weather-partly-cloudy
- "\U000F0592" # weather-cloudy - "\U000F0590" # weather-cloudy
- "\U000F0594" # weather-pouring - "\U000F0596" # weather-pouring
- "\U000F0596" # weather-lightning - "\U000F0593" # weather-lightning
- "\U000F0597" # weather-snowy - "\U000F0598" # weather-snowy
- "\U000F0F2F" # weather-night-partly-cloudy - "\U000F0592" # weather-hail
- "\U000F0E6E" # weather-windy - "\U000F0594" # weather-night
- "\U000F0591" # weather-fog
- "\U000F059D" # weather-windy
- "\U000F0597" # weather-rainy
- "\U000F07A6" # cannabis
- "\U000F0EC0" # penguin
- "\U000F1C4F" # shape-plus-outline for mid menu
- "\U000F0B5F" # bat
- "\U000F01E5" # duck
- "\U000F0208" # eye on
- "\U000F0209" # eye off
- "\U000F05A0" # webcam
- "\U000F13E1" # umbrella
- file: "https://github.com/BigBobbas/ESP32-S3-Box3-Custom-ESPHome/raw/main/fonts/materialdesignicons-webfont.ttf" - file: "https://github.com/BigBobbas/ESP32-S3-Box3-Custom-ESPHome/raw/main/fonts/materialdesignicons-webfont.ttf"
@ -1566,13 +1577,13 @@ display:
} else if(id(alarm_status).state == "armed_night") { } else if(id(alarm_status).state == "armed_night") {
it.printf(250, 5, id(icon_font_55), green, "\U000F1828"); it.printf(250, 5, id(icon_font_55), green, "\U000F1828");
} }
it.printf(20, 75, id(icon_font_80), blue,"\U000F050F"); it.printf(20, 75, id(icon_font_80), blue_drk,"\U000F050F"); // temp
it.printf(40, 120, id(my_font3), white, "%.f", id(s3temp).state); // remove for no sensor version it.printf(40, 120, id(my_font3), white, "%.f", id(s3temp).state); // temperature text
it.printf(120, 75, id(icon_font_80), yellow,"\U000F06E8" ); it.printf(120, 75, id(icon_font_80), pink,"\U000F1C4F" ); // 2nd mid (lights)
it.printf(220, 75, id(icon_font_80), purple,"\U000F0210"); it.printf(220, 75, id(icon_font_80), lime,"\U000F07A6"); // 3rd mid (fans)
it.printf(20, 155, id(icon_font_80), red,"\U000F075A"); it.printf(20, 155, id(icon_font_80), red,"\U000F075A"); // sound
it.printf(120, 155, id(icon_font_80), blue,"\U000F0FCE"); it.printf(120, 155, id(icon_font_80), blue,"\U000F0FCE"); // media
it.printf(220, 155, id(icon_font_80), lime,"\U000F08D6"); it.printf(220, 155, id(icon_font_80), yellow,"\U000F08D6"); // settings
- id: template_page ##### template page ##]## - id: template_page ##### template page ##]##
lambda: |- lambda: |-
@ -1989,8 +2000,23 @@ display:
} }
// Temperature from Home Assistant weather entity // Temperature from Home Assistant weather entity
it.printf(240, 161, 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.) // Weather condition (e.g. "partlycloudy", "sunny", etc.)
it.printf(240, 210, id(my_font4), light_blue, TextAlign::CENTER, "%s", id(ha_weather_condition).state.c_str()); std::string condition = id(ha_weather_condition).state;
if (condition == "sunny") {
it.printf(240, 210, id(icon_font_55), light_blue, TextAlign::CENTER, "\U000F0668");
} else if (condition == "partlycloudy") {
it.printf(240, 210, id(icon_font_55), light_blue, TextAlign::CENTER, "\U000F0595");
} else if (condition == "cloudy") {
it.printf(240, 210, id(icon_font_55), light_blue, TextAlign::CENTER, "\U000F0590");
} else if (condition == "rainy") {
it.printf(240, 210, id(icon_font_55), light_blue, TextAlign::CENTER, "\U000F0597");
} else if (condition == "lightning") {
it.printf(240, 210, id(icon_font_55), light_blue, TextAlign::CENTER, "\U000F0593");
} else {
it.printf(240, 210, id(icon_font_55), light_blue, TextAlign::CENTER, "\U000F0594"); // default: cloudy
}
// Device // Device
it.printf(80, 181, id(my_font4), light_blue, TextAlign::CENTER, "%.f°C", id(s3temp).state); it.printf(80, 181, id(my_font4), light_blue, TextAlign::CENTER, "%.f°C", id(s3temp).state);