Removed building hosts from ARP table for accounting devices - will use only DHCP leases.

Removed unnecessary code, put all accounting sensors in the same group, set accounting sensors key to mac-address
This commit is contained in:
Ivan Pavlina 2020-04-07 13:33:48 +02:00
parent 8244a146de
commit aee33b8c13
3 changed files with 13 additions and 128 deletions

View file

@ -57,9 +57,6 @@ async def async_setup_entry(hass, config_entry):
)
await mikrotik_controller.hwinfo_update()
#if track_accounting:
# await mikrotik_controller.async_accounting_hosts_update()
await mikrotik_controller.async_update()
if not mikrotik_controller.data: