Show a live picture on a camera tile, run an action from the alert button, roll long media titles, and keep full-page tiles in their own colour (0.2.91)
Live picture (issue #4): a camera or image tile on a Guition takes Display -> Live picture with a pace of 15 or 30 s. The camera tiles of a page share one download: the screen asks ESP Screens for them together (esphome.screen_camera with tiles, size and bg) and the app serves one BMP, a strip of squares with the corners rounded over each tile's own colour; every tile draws its square out of it with LVGL's image offset (LV_IMAGE_ALIGN_TOP_LEFT: the default centres a taller source). A third online_image on the Guition holds the strip; it loads after the alert's picture, a cover and the camera full screen, never under a card, in standby or under a finger. The strip is served whole every time: ESPHome's http_request logs a 304 as a failed request. Firmware 0.2.77. Alert button: esp_screens_show_alert takes action and data; the app performs the action once when the button's report (esphome.screen_alert, ok) comes from any screen. show_alert keeps its seven fields, so every firmware from 0.2.31 has it. Media card and full-page media tile: a title or artist line that is too wide rolls by (LV_LABEL_LONG_SCROLL_CIRCULAR) instead of ending in dots. Full-page tiles are white or their own pastel like every other tile; the tint in the state colour of firmware 0.2.62 to 0.2.76 is gone. Host harness (27 checks) and bench Guition + local add-on on the Yellow: docs/TEST_RESULTS_0291.md. CYD firmware 1,633,728 B, 89.0 %. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -448,6 +448,7 @@
|
||||
"builtin_action": "Wbudowana karta nie może wykonać akcji.",
|
||||
"no_mini_slider": "Ta encja nie obsługuje małego suwaka.",
|
||||
"history_hours": "Historia: wybierz 1, 6 lub 24 godziny.",
|
||||
"refresh": "Obraz na żywo: odświeżaj co 15 lub 30 sekund.",
|
||||
"watch_or_slider": "Wybierz dużą wartość albo mały suwak.",
|
||||
"no_direct_control": "Ta encja nie obsługuje takiego bezpośredniego sterowania.",
|
||||
"position": "Nieprawidłowa pozycja kafelka; odśwież stronę zarządzania.",
|
||||
@@ -739,6 +740,10 @@
|
||||
"camera": {
|
||||
"label": "Kamera",
|
||||
"help": "Encja kamery lub obrazu. Guition z firmware 0.2.57+ pokazuje jej zdjęcie z tej chwili u góry karty; dotknięcie go otwiera kamerę na pełnym ekranie. Inne ekrany pokazują alert bez zdjęcia. Tylko przez zdarzenie esp_screens_show_alert."
|
||||
},
|
||||
"action": {
|
||||
"label": "Akcja",
|
||||
"help": "Akcja Home Assistant, na przykład script.open_gate lub light.turn_off, wykonywana raz po naciśnięciu przycisku na dowolnym ekranie. `data` podaje jej pola (entity_id, brightness, ...). Po upływie czasu lub przy nowym alercie pozostaje niewykonana. Tylko przez zdarzenie esp_screens_show_alert."
|
||||
}
|
||||
},
|
||||
"endings": {
|
||||
@@ -1266,15 +1271,22 @@
|
||||
"forecast": "Prognoza pogody",
|
||||
"graph": "Wykres",
|
||||
"sunpath": "Tor słońca",
|
||||
"live": "Obraz na żywo",
|
||||
"live_hint": "Mały obraz z kamery w miejscu ikony, odświeżany w tempie poniżej, dopóki strona jest na ekranie. Dotknięcie nadal otwiera go na pełnym ekranie.",
|
||||
"live_needs_firmware": "Obraz na żywo wymaga firmware 0.2.77 lub nowszego: po zapisaniu naciśnij Aktualizuj przy ekranie.",
|
||||
"no_graph": "Home Assistant nie ma wartości liczbowych dla tej encji, więc wykres pozostanie pusty. Wybierz inny widok.",
|
||||
"no_forecast": "Ta usługa pogodowa nie ma prognozy dziennej w Home Assistant. Wybierz inny widok."
|
||||
},
|
||||
"refresh": {
|
||||
"label": "Odświeżanie",
|
||||
"seconds": "Co {n} s"
|
||||
},
|
||||
"size": {
|
||||
"label": "Rozmiar",
|
||||
"single": "Normalny",
|
||||
"wide": "Podwójna szerokość",
|
||||
"full": "Cała strona",
|
||||
"full_hint": "Cała strona: jeden duży przycisk, który świeci, gdy encja jest włączona; suwak, przyciski lub wykres są na jego dole.",
|
||||
"full_hint": "Cała strona: jeden duży przycisk w kolorze kafelka; suwak, przyciski lub wykres są na jego dole.",
|
||||
"needs_firmware": "Kafelek na całą stronę wymaga wersji firmware 0.2.62: najpierw naciśnij „Aktualizuj” przy tym ekranie."
|
||||
},
|
||||
"page": {
|
||||
|
||||
Reference in New Issue
Block a user