mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-08-29 14:18:11 +02:00
Removed WAN prefix in RouterOS 7+ client bandwidth, fixes #155
This commit is contained in:
parent
4d5030297f
commit
25a09498d6
3 changed files with 44 additions and 4 deletions
|
@ -68,6 +68,8 @@ def update_items(inst, config_entry, mikrotik_controller, async_add_entities, se
|
|||
"environment",
|
||||
"traffic_rx",
|
||||
"traffic_tx",
|
||||
"client_traffic_rx",
|
||||
"client_traffic_tx",
|
||||
"client_traffic_lan_rx",
|
||||
"client_traffic_lan_tx",
|
||||
"client_traffic_wan_rx",
|
||||
|
@ -82,6 +84,8 @@ def update_items(inst, config_entry, mikrotik_controller, async_add_entities, se
|
|||
MikrotikClientTrafficSensor,
|
||||
MikrotikClientTrafficSensor,
|
||||
MikrotikClientTrafficSensor,
|
||||
MikrotikClientTrafficSensor,
|
||||
MikrotikClientTrafficSensor,
|
||||
],
|
||||
):
|
||||
if sensor.startswith("traffic_") and not config_entry.options.get(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue