mirror of
https://github.com/mjg59/python-broadlink.git
synced 2024-11-22 23:17:47 +01:00
Merge pull request #485 from felipediel/patch-28
Fix mp1.check_power_raw() annotation
This commit is contained in:
commit
c9b48226e3
@ -37,7 +37,7 @@ class mp1(device):
|
||||
sid_mask = 0x01 << (sid - 1)
|
||||
self.set_power_mask(sid_mask, state)
|
||||
|
||||
def check_power_raw(self) -> bool:
|
||||
def check_power_raw(self) -> int:
|
||||
"""Return the power state of the device in raw format."""
|
||||
packet = bytearray(16)
|
||||
packet[0x00] = 0x0A
|
||||
|
Loading…
Reference in New Issue
Block a user