mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-07-08 00:14:31 +02:00
Added logging of the Filter ID
This commit is contained in:
parent
817ecaa8c1
commit
6306829bf8
1 changed files with 2 additions and 1 deletions
|
@ -1171,9 +1171,10 @@ class MikrotikControllerData:
|
|||
if self.data["filter"][uid]["uniq-id"] not in self.filter_removed:
|
||||
self.filter_removed[self.data["filter"][uid]["uniq-id"]] = 1
|
||||
_LOGGER.error(
|
||||
"Mikrotik %s duplicate Filter rule %s, entity will be unavailable.",
|
||||
"Mikrotik %s duplicate Filter rule %s (ID %s), entity will be unavailable.",
|
||||
self.host,
|
||||
self.data["filter"][uid]["name"],
|
||||
self.data["filter"][uid][".id"],
|
||||
)
|
||||
|
||||
del self.data["filter"][uid]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue