I have created a new integration for Universal Powerline Bus (UPB) devices. I’m using config_flow
. I’m getting a situation where the entities are showing as Unavailable
when I believe that they should be available. Here is how I reproduce…
- Configure the new integration, through the
config_flow
process. - A number of light and scene entities get created. All are
Available
. - Remove the integration (through the GUI)
- Recreate the integration, through the
config_flow
process. - All of the entities are
Unavailable
. When an entity has a state update the entity becomes available again.
Since scene
entities don’t get state updates they remain unavailable until I restart hass on my laptop.
Why would they be showing as Unavailable
? Is there something on (re)creation that should be done?
Code here: https://github.com/gwww/core/tree/upb/homeassistant/components/upb