Fixed crash during slow reboot

This commit is contained in:
Tomaae 2025-05-01 12:33:00 +02:00
parent b15940fc8e
commit 6905bcb6b5
No known key found for this signature in database
GPG key ID: 60C51A657EEF2D87

View file

@ -705,6 +705,7 @@ class MikrotikCoordinator(DataUpdateCoordinator[None]):
],
)
if tmp_user[self.config_entry.data[CONF_USERNAME]]["group"] in tmp_group:
self.ds["access"] = tmp_group[
tmp_user[self.config_entry.data[CONF_USERNAME]]["group"]
]["policy"].split(",")