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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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