You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after every home-assistant reboot the integration displays an available update for my TrueNAS with version "unknown"
this prompt removes itself after a few seconds right after correcting itself to the real current version being "available"
How to reproduce the issue
reboot homeassistant
see an available update even though TrueNAS is on the latest version already
Expected behavior
no update prompt available on boot if not necessary
Screenshots
Software versions
Core 2024.10.1
Supervisor 2024.10.0
Operating System 13.1
Frontend 20241002.2
TrueNAS OS version 13.0-U6.2
TrueNAS homeassistant HACS integration version v1.2.5
The text was updated successfully, but these errors were encountered:
I think it happen because the default value of "updated_version" is "unknown". The current version didn't match the "updated_version", which current value is "unknown", so the system report that there is an update.
The workaround is by making the default value of "updated_version" to current local version, this will prevent false report by the system before its get the real latest version from TrueNAS.
The default value is located in coordinator.py line 285.
Change it from "default": "unknown" to "default": self.ds["system_info"]["version"]
Describe the issue
after every home-assistant reboot the integration displays an available update for my TrueNAS with version "unknown"
this prompt removes itself after a few seconds right after correcting itself to the real current version being "available"
How to reproduce the issue
reboot homeassistant
see an available update even though TrueNAS is on the latest version already
Expected behavior
no update prompt available on boot if not necessary
Screenshots
Software versions
Core 2024.10.1
Supervisor 2024.10.0
Operating System 13.1
Frontend 20241002.2
TrueNAS OS version 13.0-U6.2
TrueNAS homeassistant HACS integration version v1.2.5
The text was updated successfully, but these errors were encountered: