mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix implicit use of device name in Verisure (#95781)
This commit is contained in:
parent
3fa1e12152
commit
430a1bcb3d
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user