diff --git a/broadlink/remote.py b/broadlink/remote.py index 6cf32f2..f4b8ffb 100644 --- a/broadlink/remote.py +++ b/broadlink/remote.py @@ -46,10 +46,9 @@ class rm(device): resp = self._send(0x1A) return resp[0] == 1 - def find_rf_packet(self) -> bool: + def find_rf_packet(self) -> None: """Enter radiofrequency learning mode.""" - resp = self._send(0x1B) - return resp[0] == 1 + self._send(0x1B) def check_temperature(self) -> float: """Return the temperature.""" @@ -80,11 +79,6 @@ class rm4(rm): p_len = struct.unpack(" bool: - """Enter radiofrequency learning mode.""" - self._send(0x1B) - return True - def check_humidity(self) -> float: """Return the humidity.""" return self.check_sensors()["humidity"]