Skip to content

Commit

Permalink
Update button.py (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohNan authored May 9, 2024
1 parent e103a12 commit 96945e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyflichub/button.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
class FlicButton():
def __init__(self, bdaddr: str, serial_number: str, color: str, name: str, active_disconnect: bool, connected: bool,
ready: bool, battery_status: int, uuid: str, flic_version: int, firmware_version: int, key: str,
passive_mode: bool, battery_timestamp: datetime = None) -> None:
passive_mode: bool, battery_timestamp: datetime = None, boot_id: str = "") -> None:
self.bdaddr = bdaddr
self.serial_number = serial_number
self.color = color
Expand All @@ -21,3 +21,4 @@ def __init__(self, bdaddr: str, serial_number: str, color: str, name: str, activ
self.key = key
self.passive_mode = passive_mode
self.battery_timestamp = battery_timestamp
self.boot_id = boot_id

0 comments on commit 96945e0

Please sign in to comment.