[preferences] modify IntervalSyncer to be a PollingComponent (#14370)

Co-authored-by: J. Nick Koston <nick@home-assistant.io>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
rwrozelle
2026-08-23 22:50:19 -05:00
committed by GitHub
co-authored by J. Nick Koston Claude Sonnet 4.6
parent 5f6a910e2d
commit 2b11fbe164
6 changed files with 194 additions and 20 deletions
@@ -1,2 +1,9 @@
preferences:
id: prefs_syncer
flash_write_interval: 20s
esphome:
on_boot:
then:
- component.suspend: prefs_syncer
- component.resume: prefs_syncer