Skip to content

Commit

Permalink
Fix rm4.find_rf_packet()
Browse files Browse the repository at this point in the history
  • Loading branch information
felipediel committed Jan 21, 2021
1 parent acb45be commit 0457d50
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions broadlink/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,9 @@ def check_frequency(self) -> bool:
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."""
Expand Down

0 comments on commit 0457d50

Please sign in to comment.