mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-07-30 23:44:31 +02:00
Sensor simple queues selection #68
This commit is contained in:
parent
fe33d9defd
commit
3efe6d451b
1 changed files with 1 additions and 1 deletions
|
@ -466,7 +466,7 @@ class MikrotikControllerData:
|
|||
):
|
||||
await self.hass.async_add_executor_job(self.process_accounting)
|
||||
|
||||
if self.api.connected():
|
||||
if self.api.connected() and self.option_sensor_simple_queues:
|
||||
await self.hass.async_add_executor_job(self.get_queue)
|
||||
|
||||
if self.api.connected():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue