Skip to content

Commit

Permalink
Fix implicit use of device name in Verisure (#95781)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored and balloob committed Jul 3, 2023
1 parent 3c0d234 commit 0ce3b89
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/alarm_control_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class VerisureAlarm(

_attr_code_format = CodeFormat.NUMBER
_attr_has_entity_name = True
_attr_name = None
_attr_supported_features = (
AlarmControlPanelEntityFeature.ARM_HOME
| AlarmControlPanelEntityFeature.ARM_AWAY
Expand Down
1 change: 1 addition & 0 deletions homeassistant/components/verisure/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class VerisureSmartplug(CoordinatorEntity[VerisureDataUpdateCoordinator], Switch
"""Representation of a Verisure smartplug."""

_attr_has_entity_name = True
_attr_name = None

def __init__(
self, coordinator: VerisureDataUpdateCoordinator, serial_number: str
Expand Down

0 comments on commit 0ce3b89

Please sign in to comment.