mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-12-06 09:06:52 +01:00
ESPHome 2026.12: on_client_synced, CanPayload, cleanups
- LVGL panels (NSPanels, lvgl, lvgl-4848s040, m5core2, tft), m5paper: api on_client_synced instead of a 2 s delay and an api.connected check - car-can: on_frame x is canbus::CanPayload, frames_per_id keeps it without a heap vector - gateway: drop the commented ethernet (common/ethernet.yaml has it), LLDP (PR draft), manual_ip and use_address - clock-1, echo: drop the commented neopixelbus lights
This commit is contained in:
1 parent
01fe45ce8d
commit
0f6e2350cc
10 files changed
+23
-165
No files matched your search
+4
-17
@@ -124,28 +124,15 @@ wifi:
|
||||
- component.update: m5paper_display
|
||||
|
||||
api:
|
||||
# status screen until Home Assistant connects (log viewers don't subscribe to states)
|
||||
on_client_connected:
|
||||
- delay: 2s
|
||||
- if:
|
||||
condition:
|
||||
api.connected:
|
||||
state_subscription_only: true
|
||||
then:
|
||||
- lambda: id(show_status) = false;
|
||||
# status screen until Home Assistant has subscribed and received every state (log viewers don't subscribe)
|
||||
on_client_synced:
|
||||
- lambda: id(show_status) = false;
|
||||
- if:
|
||||
condition:
|
||||
lambda: return !id(calendar_page);
|
||||
then:
|
||||
- component.update: m5paper_display
|
||||
# outside the battery cycle (power button, USB) WiFi is up anyway: always refresh
|
||||
- if:
|
||||
condition:
|
||||
and:
|
||||
- lambda: return !id(calendar_page);
|
||||
- api.connected:
|
||||
state_subscription_only: true
|
||||
then:
|
||||
# outside the battery cycle (power button, USB) WiFi is up anyway: always refresh
|
||||
- script.execute: fetch_events
|
||||
on_client_disconnected:
|
||||
- if:
|
||||
|
||||
Reference in new issue
Block a user