Skip to content

Commit

Permalink
Add explicit device naming for Verisure (home-assistant#97224)
Browse files Browse the repository at this point in the history
  • Loading branch information
joostlek authored Jul 25, 2023
1 parent 585d357 commit 234715a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions homeassistant/components/verisure/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions homeassistant/components/verisure/lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 234715a

Please sign in to comment.