tomaae / homeassistant-mikrotik_router

Mikrotik router integration for Home Assistant
Apache License 2.0
292 stars 48 forks source link

[Bug] Update entities don't disappear after update #276

Closed mvdwetering closed 1 year ago

mvdwetering commented 1 year ago

Describe the issue

After using the Update entity of a router to apply an update (in this case to RouterOS 7.8) the update entity stays active (waited for over 15 minutes). When going to the webinterface of the router it shows that RouterOS is updated.

HA still shows the previous routerOS version (but uptime did restart so connection still seems to be fine) It does update after reloading the integration.

Seen with update entities for wAP ac and RB4011iGS+5HacQ2HnD

Note, I did check that it was still the update entity for the OS update and not the Firmware update which becomes available after OS update.

How to reproduce the issue

Update router using the Update entity.

Expected behavior

Update entity does not show anymore after update.

Screenshots

Software versions

Diagnostics data

EDIT: I attached the logging for the wAP as that one still showed the update and the RB4011 already disappeared after reloading the integration, but the wAP actually failed to update the OS so the logging is not relevant :(

I hashed the macs so they are unreadable byt you can still related the same ones if needed. redacted_macs.json.txt

Traceback/Error logs

No errors shown

Additional context

mvdwetering commented 1 year ago

After the wAP not updating properly I am not entirely sure if I was looking at the correct entities, so closing this for now. Lets see with next RouterOS upgrade