Skip to content

Commit 1058444

Browse files
authored
Update sensor.py
1 parent 3ae1a68 commit 1058444

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

custom_components/ttlock/sensor.py

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ async def async_setup_entry(
3333
LockTrigger(coordinator),
3434
SensorBattery(coordinator) if coordinator.data.sensor else None,
3535
)
36+
if entity is not None
3637
]
3738
)
3839

0 commit comments

Comments
 (0)