Use device name for Nuki door sensor (#95904)

Explicitly set Nuki door sensor name to None

Signed-off-by: Patrick ZAJDA <patrick@zajda.fr>
This commit is contained in:
Patrick ZAJDA
2023-07-08 21:13:32 +02:00
committed by GitHub
parent 4b1d096e6b
commit c27a014a0a

View File

@@ -36,6 +36,7 @@ class NukiDoorsensorEntity(NukiEntity[NukiDevice], BinarySensorEntity):
"""Representation of a Nuki Lock Doorsensor."""
_attr_has_entity_name = True
_attr_name = None
_attr_device_class = BinarySensorDeviceClass.DOOR
@property