diff --git a/homeassistant/components/simplisafe/lock.py b/homeassistant/components/simplisafe/lock.py index 1e7be48979b..9ce59eb3b56 100644 --- a/homeassistant/components/simplisafe/lock.py +++ b/homeassistant/components/simplisafe/lock.py @@ -49,6 +49,9 @@ async def async_setup_entry( class SimpliSafeLock(SimpliSafeEntity, LockEntity): """Define a SimpliSafe lock.""" + _attr_name = None + _device: Lock + def __init__(self, simplisafe: SimpliSafe, system: SystemV3, lock: Lock) -> None: """Initialize.""" super().__init__( @@ -58,8 +61,6 @@ class SimpliSafeLock(SimpliSafeEntity, LockEntity): additional_websocket_events=WEBSOCKET_EVENTS_TO_LISTEN_FOR, ) - self._device: Lock - async def async_lock(self, **kwargs: Any) -> None: """Lock the lock.""" try: