mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-07-31 07:54:31 +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
|
||||
|
||||
if (
|
||||
entity_description.func == "MikrotikClientTrafficSensor"
|
||||
entity_description.data_path == "client_traffic"
|
||||
and entity_description.data_attribute not in data[uid].keys()
|
||||
):
|
||||
return True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue