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 36c506a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name='pyhkc',
version='0.4.8',
version='0.4.9',
packages=find_packages(),
install_requires=open(os.path.join(BASE_DIR, 'requirements.txt')).readlines(),
author='Jason Madigan',
Expand Down

0 comments on commit 36c506a

Please sign in to comment.