Open V4ler1an opened 4 hours ago
I can see that the new device ID the integration is trying to talk to is, in fact the MAC of the interface in the new LAGG. So it's kind of interesting that the OPNsense integration decided to switch to it early, even though my OPNsense primary LAN interface assignment (and thus the router's primary LAN IP) hadn't yet been switched to the LAGG. I can see from OPNsense's interface overview however that the new LAGG had been made 'default' though instead of LAN. No idea why it did that given it was unassigned at that point !
Anyway... it would be really helpful for the future if there was a way to manually edit the Device ID in use by the integration. If you can help with this? Perhaps it could even be added as an option in the UI?
What happened?
I've been making some changes to my OPNsense router. I setup a new lagg interface which will be a trunk connection to my switch carrying traffic for new vlans. I haven't finalised this setup yet (traffic is still being sent / received over the old LAN interface currently), but I notice that the OPNsense integration in Home Assistant has already broken with the following error:
Coordinator error. OPNsense Router Device ID (xx_xx_xx_xx_xx_xx) differs from the one saved in hass-opnsense (xx_xx_xx_xx_xx_xx)
I'm not sure what exactly caused the device ID to change, given that I haven't changed the LAN interface yet in OPNsense. Can you:
Many thanks.
hass-opnsense Version
0.3.9
OPNsense Firmware
24.7.8
Home Assistant Version
OS: 13.2 / Core: 2024.11.2 / Supervisor: 2024.11.3
Relevant logs
Additional Details
No response