homeassistant-openmediavault
homeassistant-openmediavault copied to clipboard
[Bug] When OMV Instance is unreachable, this integration makes HA hang on bootup
Describe the issue
OMV Integration makes HA hang for far too long on bootup. Eventually there does seem to be a timeout but I'd argue it's far too long. Perhaps this could be configurable?
How to reproduce the issue
- Turn off/unplug from network your OMV instance
- Restart HA
- See how it's stuck at 'starting openmediavault' for a long time while other, perhaps more important stuff waits to be initialised
Expected behavior
Have a shorter or configurable timeout
Screenshots
Software versions
- Home Assistant version:
- openmediavault integration version:
- openmediavault software version: HA: 2023.7.3 Integration version: 1.4.1
Diagnostics data
Traceback/Error logs
Additional context
Does that really hang HA, or you just see starting up message?
Ok, hang might not have been the correct word. It’s not like it’s unresponsive, but it doesn’t initiate other things that get initiated after OMV, which in some instances are important functions that I wouldn’t want to wait this long for if there’s a way around it