mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-08-01 08:24:29 +02:00
fixed client traffic sensors
This commit is contained in:
parent
51c9c62859
commit
04e0d875cf
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ def _skip_sensor(config_entry, entity_description, data, uid) -> bool:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
if (
|
if (
|
||||||
entity_description.func == "MikrotikClientTrafficSensor"
|
entity_description.data_path == "client_traffic"
|
||||||
and entity_description.data_attribute not in data[uid].keys()
|
and entity_description.data_attribute not in data[uid].keys()
|
||||||
):
|
):
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue