Browse Source

remove enable notifications

zerzhang 6 months ago
parent
commit
7f64d10c45
1 changed files with 0 additions and 1 deletions
  1. 0 1
      switchbot/devices/lock.py

+ 0 - 1
switchbot/devices/lock.py

@@ -123,7 +123,6 @@ class SwitchbotLock(SwitchbotSequenceDevice, SwitchbotEncryptedDevice):
         if status in ignore_statuses:
         if status in ignore_statuses:
             return True
             return True
 
 
-        await self._enable_notifications()
         result = await self._send_command(command)
         result = await self._send_command(command)
         status = self._check_command_result(result, 0, COMMAND_RESULT_EXPECTED_VALUES)
         status = self._check_command_result(result, 0, COMMAND_RESULT_EXPECTED_VALUES)