mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-07-21 19:24:38 +02:00
crosscheck NAT .id in case of mikrotik reboot
This commit is contained in:
parent
ce98668f1e
commit
8f8817a1f7
3 changed files with 20 additions and 3 deletions
|
@ -34,6 +34,10 @@ DEVICE_ATTRIBUTES = [
|
|||
"default-name",
|
||||
]
|
||||
|
||||
|
||||
# ---------------------------
|
||||
# format_attribute
|
||||
# ---------------------------
|
||||
def format_attribute(attr):
|
||||
res = attr.replace("-", " ")
|
||||
res = res.capitalize()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue