Add explicit device naming for Verisure (#97224)

pull/97231/head
Joost Lekkerkerker 2023-07-25 20:48:05 +02:00 committed by GitHub
parent 585d357129
commit 234715a8c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,7 @@ class VerisureSmartcam(CoordinatorEntity[VerisureDataUpdateCoordinator], Camera)
"""Representation of a Verisure camera."""
_attr_has_entity_name = True
_attr_name = None
def __init__(
self,

View File

@ -60,6 +60,7 @@ class VerisureDoorlock(CoordinatorEntity[VerisureDataUpdateCoordinator], LockEnt
"""Representation of a Verisure doorlock."""
_attr_has_entity_name = True
_attr_name = None
def __init__(
self, coordinator: VerisureDataUpdateCoordinator, serial_number: str