homeassistant-mikrotik_router
homeassistant-mikrotik_router copied to clipboard
[Bug] HA entities do not update faster than 30 seconds
I am not sure if that is a bug or just kind of misconfiguration. I did not find any solution for it, so as discussed previously: It seems that integration itself queries device (RB3011 in my case) but is not equally reflected state to HA.
Details: Having configured the integration and using Scan Interval lower than 30secs have no influence on the values being reported on dashboards / devices. It is always 30secs or more. When I am analysing debug logs it seems that my router is queried every e.g. 5 secs. But looking at the e.g. Rx or Tx of particular port I am getting updates every 30secs.
Thanks in advance for any help. X.
EDIT: I am still learning the architecture of HomeAutomation and maybe I am wrong but it seems to me that we are facing such scenario:
- Integration itself has timer#1 that follows configuration and can query physical device ever n-secs
- Integration is queried every Scan_interval of the HomeAutomation that uses its own vauel globally set - As I found it is by default 30secs.