Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
ESPHome Native API Restore Entities on startup #19379
This brings back a nice feature that existed in the MQTT discovery protocol: Entities are re-created even if the ESP is not reachable. So lovelace & co don't freak out when an entity is missing.
They will be shown as
This creates a separate Store for each config entry. I also have code that has a global store that's shared between all config entries, but that's not as nice because it breaks the abstraction of "all config entries don't need to know about each other" (and the code is a bit less nice).
The store is only updated on successful login. So usually around once every few days (or hours, depending on WiFi signal). That shouldn't be an issue for the FS.