Skip to content

Commit

Permalink
bugfix: 400 on panel status
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmadigan committed Jul 26, 2024
1 parent 3af576f commit fb9f58d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyhkc/hkc_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
class HKCAlarm:
def __init__(self, panel_id, panel_password, user_code, base_url="https://hkc.api.securecomm.cloud", log_level=logging.INFO):
self.base_url = base_url
self.panel_id = panel_id
self.panel_id = int(panel_id)
self.panel_password = panel_password
self.user_code = user_code
self.user_code = int(user_code)
self.headers = {
"Host": "hkc.api.securecomm.cloud",
"accept": "application/json, text/plain, */*",
Expand Down

0 comments on commit fb9f58d

Please sign in to comment.