It's false (does nothing) by default.
If set to true, an implementation of RestoreEntity restores a pre-restart state.
Quite useful for me with the virtuals for custom sensors which are only pushing not critical data to hass, instead existing hacks, mqtt persistence, etc. You might notice a lot of debate/threads begging to include this option in hass core. Virtual + this feature feels like a decent general solution for now.
Added "persistent" bool property to sensors.
It's false (does nothing) by default. If set to true, an implementation of RestoreEntity restores a pre-restart state.
Quite useful for me with the virtuals for custom sensors which are only pushing not critical data to hass, instead existing hacks, mqtt persistence, etc. You might notice a lot of debate/threads begging to include this option in hass core. Virtual + this feature feels like a decent general solution for now.
What do you think?