1
0
Эх сурвалжийг харах

Remove rssi call on the BLEDevice (#366)

J. Nick Koston 2 өдөр өмнө
parent
commit
bf4139e037

+ 1 - 1
switchbot/devices/device.py

@@ -295,7 +295,7 @@ class SwitchbotBaseDevice:
         """Return RSSI of device."""
         if self._sb_adv_data:
             return self._sb_adv_data.rssi
-        return self._device.rssi
+        return -127
 
     async def _ensure_connected(self):
         """Ensure connection to device is established."""