Bump partial refresh to 80ms, add retry to catch HA state syncs
display_partial() drops calls when the e-paper is still busy, which silently lost HA-triggered widget updates (e.g. fan speed) that landed during the previous refresh's busy window. The retry fires once the busy window has cleared so the state-synced state makes it to the panel. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
+6
-1
@@ -159,7 +159,12 @@ script:
|
||||
- id: refresh_display
|
||||
mode: restart
|
||||
then:
|
||||
- delay: 60ms
|
||||
- delay: 80ms
|
||||
- lambda: 'id(display0).display_partial();'
|
||||
# Retry once the e-paper's busy window has cleared, to catch HA-synced
|
||||
# widget updates that landed while the first partial refresh was in flight
|
||||
# (display_partial drops calls when busy).
|
||||
- delay: 350ms
|
||||
- lambda: 'id(display0).display_partial();'
|
||||
- id: full_refresh_display
|
||||
mode: restart
|
||||
|
||||
Reference in New Issue
Block a user