mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-06-27 03:08:59 +02:00
sensor entity code cleanup fix
This commit is contained in:
parent
e372ebbfff
commit
d373149c02
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ def update_items(inst, config_entry, mikrotik_controller, async_add_entities, se
|
|||
continue
|
||||
|
||||
sensors[item_id] = MikrotikControllerBinarySensor(
|
||||
mikrotik_controller=mikrotik_controller, inst=inst, sensor=sensor
|
||||
mikrotik_controller=mikrotik_controller, inst=inst, sid_data=sensor
|
||||
)
|
||||
new_sensors.append(sensors[item_id])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue