I’m wondering if there are currently any plans to improve the handling of offline devices in HA.
I refering to devices that are generally supported by HA but not reachable via network at the time HA is (re)started.
I currently have a Media Player (Kodi), an AV-receiver (Denon) and a projector (Epson) that have HA integrations.
For power-saving reasons and the simple fact that in my environment it’s not necessary to have those accessible via network when they’re not in use, none of those are configured to listen to network requests in their off/standby state.
Unfortunately, even though HA can handle if those devices are switched off at some point, it requires the device to be “active” during a HA (re)start - otherwise the device will not show up in HA and the UI presents red error cards for the now missing devices.
There doesn’t seem to be a way to detect when a device comes online at a later point.
I think it should be possible through device discovery, but apparently this is hardly used.
Theoretically it shouldn’t be hard to have a device show up in an “offline” or “unavailable” state it it’s not reachable during HA startup and update its state as soon as it becomes available.
I’m sure there’s a lot of ways to do that cleanly, but I think that’s something the core developers need to agree on and it probably needs to be made a requirement for components to support it.
What are your thoughts?