Selectable font size for screensaver time display

Solves #1689
This commit is contained in:
Edward Firmo
2024-02-21 00:12:36 +01:00
parent 9b1e652040
commit 9a2a2a4273
11 changed files with 47 additions and 14 deletions

View File

@@ -312,6 +312,7 @@ It configures ESPHome with settings that affect overall functionality and user i
- `mui_please_confirm` (string): Localized (language based) message used for asking for confirmation in the UI.
- `mui_unavailable` (string): Localized (language based) message used for indicating unavailability in the UI.
- `screensaver_time` (bool): Enables or disables the screensaver time display.
- `screensaver_time_font` (int): Specifies the font id for the screensaver time display.
- `screensaver_time_color` (int[]): Specifies the RGB color array for the screensaver time display.
**Home Assistant Example:**
@@ -325,6 +326,7 @@ data:
mui_please_confirm: "Confirme, por favor."
mui_unavailable: "Indisponível"
screensaver_time: true
screensaver_time_font: 11
screensaver_time_color: [165, 42, 42] # Reddish-brown
```
> [!NOTE]