#yes they are properly implemented
1 messages · Page 1 of 1 (latest)
The RegistryEntry is not what is persisting - it is configuration being stored. Ie. it has no state stored there
It is written when creating or modifying the entity.
This is an entity for software updates afaik - like BinarySensorEntity
See eg here https://github.com/home-assistant/core/blob/f975d30258209ad4d133990d5c96e870e71fcf86/homeassistant/components/knx/switch.py#L65
How to get the last state and restore it.
Wanted to reconfirm my understanding of the architecture for entities...
- Entity registry contains the original entity created through the helper
- Any modifications are stored as states and restored on top of the initial configuration
So in case of input_select modifying "options" - should that persist as a saved state that gets restored....or should the entity registry be updated with the new "option" entries?
oh... I didn't realize this was about input_select helper. I thought its about some normal integrations select entity. Not sure how that works exactly. Normally select options are defined by the integration, not the user...