Put ESP Screens in English and keep layouts when entity IDs change (0.2.40)
Everything a user sees or reads is now English: both boards' labels, status replies and logs, the ESP Screens editor and Alerts cheatsheet, and the README and guides (docs/TILES.md, CALIBRATING.md, ACCEPTANCE.md and TROUBLESHOOTING.md replace the Dutch file names). Labels follow Home Assistant's own English names (Heat/Cool modes, Heating/Cooling actions, Away, Returning to dock, weather conditions), dates use English abbreviations and the top bar writes numbers the English way. Docs use HA 2026.9's menu names (Settings -> Apps, App store, Settings -> Tools). Unused legacy files (home-like.yaml, buttons.yaml, a.out) are removed. Firmware 0.2.34 names its entities in English. Home Assistant registers a renamed ESPHome entity under a new entity ID, so the inbox text.<screen>_tegelinstellingen becomes text.<screen>_tile_settings and the layout stored under the old ID would be lost. The manager now recognises the screen by its device, during a run or after a restart, and moves its layout and update history along; the Update button and the nightly round follow the screen through the rename. Screens that still run 0.2.33 or older keep working: both languages are matched. Main is the only release branch from now on. Tested on a Home Assistant Yellow (HA 2026.9.1) with both bench boards: see docs/TEST_RESULTS_0240.md. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
+15
-11
@@ -1,14 +1,16 @@
|
||||
> Nieuwe ESP32-2432S028-installatie: begin bij [README.md](README.md) en
|
||||
> [de actuele tegelhandleiding](docs/TEGELS.md). Hieronder staat ook legacygedrag.
|
||||
> New ESP32-2432S028 installation: start at [README.md](README.md) and
|
||||
> [the current tile guide](docs/TILES.md). Legacy behavior is also described below.
|
||||
|
||||
# Tile Configuration Reference
|
||||
|
||||
For the ESP32-2432S028 profile, use `home-like-2432s028.yaml` and
|
||||
[CYD_STABILITY.md](CYD_STABILITY.md). That profile uses fixed pages instead of
|
||||
scrolling, hides pagination when `TILE_COUNT <= 6`, and dims after ten minutes.
|
||||
The scrolling description below applies to `home-like.yaml`.
|
||||
The scrolling section below describes `home-like.yaml`, an early personal
|
||||
profile that has since been removed from the repository; it's kept here only
|
||||
as a historical record.
|
||||
|
||||
This document explains every substitution in `home-like.yaml` and provides copy-paste examples for all supported entity types.
|
||||
This document explains every substitution used across the tile profiles and provides copy-paste examples for all supported entity types.
|
||||
|
||||
---
|
||||
|
||||
@@ -55,11 +57,11 @@ of the entity id before the dot:
|
||||
|
||||
| Entity | Domain | Accent |
|
||||
|--------|--------|--------|
|
||||
| `script.goede_morgen` | `script` | `ACCENT_ACTION` (violet) |
|
||||
| `scene.avondlicht` | `scene` | `ACCENT_ACTION` (violet) |
|
||||
| `light.woonkamer_2` | `light` | `ACCENT_LIGHT` (amber) |
|
||||
| `script.good_morning` | `script` | `ACCENT_ACTION` (violet) |
|
||||
| `scene.evening_lights` | `scene` | `ACCENT_ACTION` (violet) |
|
||||
| `light.living_room_2` | `light` | `ACCENT_LIGHT` (amber) |
|
||||
| `vacuum.s8` | `vacuum` | `ACCENT_DEVICE` (cyan) |
|
||||
| `climate.airco` | `climate` | `ACCENT_DEVICE` (cyan) |
|
||||
| `climate.ac` | `climate` | `ACCENT_DEVICE` (cyan) |
|
||||
|
||||
The distinction that matters: a script or scene is something you *fire*, a
|
||||
device is something you switch *on and off*. Those should not look the same.
|
||||
@@ -74,7 +76,7 @@ Because the color follows the entity, dropping a different entity into a tile
|
||||
gives it the right color without touching any color key.
|
||||
|
||||
> The domain lookup lives in a small `accent_for` lambda that appears **twice**
|
||||
> in `home-like.yaml`: once in `ui_refresh` (for the tiles) and once in
|
||||
> in each profile: once in `ui_refresh` (for the tiles) and once in
|
||||
> `open_value_overlay` (for the slider fill). Keep the two copies in sync.
|
||||
|
||||
---
|
||||
@@ -534,8 +536,10 @@ TILE1_LONGPRESS_ACTION_SERVICE: "light.toggle" # must set toggle explicitly, de
|
||||
## Adding a tile
|
||||
|
||||
All ten slots are filled. To grow the grid, add a `GRID_ROW6_Y` to every
|
||||
orientation preset first. A tile is not a single block — it is six places in
|
||||
`home-like.yaml`. Copy tile 9 (a light with a slider) or tile 10 (a service
|
||||
orientation preset first (this applied to the now-removed `home-like.yaml`;
|
||||
the maintained fixed-page profiles cap at ten tiles by design — see
|
||||
[docs/TILES.md](docs/TILES.md)). A tile is not a single block — it is six
|
||||
places. Copy tile 9 (a light with a slider) or tile 10 (a service
|
||||
call) and change the number:
|
||||
|
||||
1. **Substitutions** — a `TILE9_*` block. Copy an existing one wholesale.
|
||||
|
||||
Reference in New Issue
Block a user