mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-08-04 01:44:30 +02:00
Build hosts dynamically on every update
This commit is contained in:
parent
e51304a5e3
commit
8244a146de
2 changed files with 97 additions and 35 deletions
|
@ -57,8 +57,8 @@ async def async_setup_entry(hass, config_entry):
|
|||
)
|
||||
await mikrotik_controller.hwinfo_update()
|
||||
|
||||
if track_accounting:
|
||||
await mikrotik_controller.async_accounting_hosts_update()
|
||||
#if track_accounting:
|
||||
# await mikrotik_controller.async_accounting_hosts_update()
|
||||
|
||||
await mikrotik_controller.async_update()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue