Fix implicit use of device name in Verisure (#95781)
parent
3fa1e12152
commit
430a1bcb3d
|
@ -35,6 +35,7 @@ class VerisureAlarm(
|
||||||
|
|
||||||
_attr_code_format = CodeFormat.NUMBER
|
_attr_code_format = CodeFormat.NUMBER
|
||||||
_attr_has_entity_name = True
|
_attr_has_entity_name = True
|
||||||
|
_attr_name = None
|
||||||
_attr_supported_features = (
|
_attr_supported_features = (
|
||||||
AlarmControlPanelEntityFeature.ARM_HOME
|
AlarmControlPanelEntityFeature.ARM_HOME
|
||||||
| AlarmControlPanelEntityFeature.ARM_AWAY
|
| AlarmControlPanelEntityFeature.ARM_AWAY
|
||||||
|
|
|
@ -32,6 +32,7 @@ class VerisureSmartplug(CoordinatorEntity[VerisureDataUpdateCoordinator], Switch
|
||||||
"""Representation of a Verisure smartplug."""
|
"""Representation of a Verisure smartplug."""
|
||||||
|
|
||||||
_attr_has_entity_name = True
|
_attr_has_entity_name = True
|
||||||
|
_attr_name = None
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self, coordinator: VerisureDataUpdateCoordinator, serial_number: str
|
self, coordinator: VerisureDataUpdateCoordinator, serial_number: str
|
||||||
|
|
Loading…
Reference in New Issue