Ver Fonte

remove enable notifications

zerzhang há 6 meses atrás
pai
commit
7f64d10c45
1 ficheiros alterados com 0 adições e 1 exclusões
  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:
             return True
 
-        await self._enable_notifications()
         result = await self._send_command(command)
         status = self._check_command_result(result, 0, COMMAND_RESULT_EXPECTED_VALUES)