menahishayan / HomeScript

Python script for command line control of HomeBridge (HomeKit)
GNU General Public License v3.0
94 stars 16 forks source link

AttributeError: 'HomeScript' object has no attribute 'debug' #12

Closed aaronkbutler closed 2 years ago

aaronkbutler commented 2 years ago

No matter what I do, whenever I run hs.py or us the API I get this error:

Traceback (most recent call last):
  File "/home/pi/Desktop/hs.py", line 56, in <module>
    hs = homescript.HomeScript(__HOSTNAME__,__PORT__,__AUTH__, args.debug, sys.argv)
  File "/home/pi/.local/lib/python3.9/site-packages/homescript/__init__.py", line 24, in __init__
    self.getAccessories()
  File "/home/pi/.local/lib/python3.9/site-packages/homescript/__init__.py", line 51, in getAccessories
    if self.debug:
AttributeError: 'HomeScript' object has no attribute 'debug'