Build hosts dynamically on every update

This commit is contained in:
Ivan Pavlina 2020-04-07 13:02:01 +02:00
parent e51304a5e3
commit 8244a146de
2 changed files with 97 additions and 35 deletions

View file

@ -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()