1
0
mirror of https://github.com/esphome/esphome.git synced 2026-02-08 00:31:58 +00:00

[globals] Convert restoring globals to PollingComponent to reduce CPU usage (#13345)

This commit is contained in:
J. Nick Koston
2026-01-28 10:35:26 -10:00
committed by GitHub
parent 6f22509883
commit 6a3205f4db
3 changed files with 49 additions and 22 deletions

View File

@@ -10,6 +10,7 @@ globals:
type: int
restore_value: true
initial_value: "0"
update_interval: 5s
- id: glob_float
type: float
restore_value: true