Browse Source

remove enable notifications

zerzhang 7 tháng trước cách đây
mục cha
commit
7f64d10c45
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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)