Thanks for making this! Will save me a ton of time.
Running the following command should set the alarm state to partial activated:
python /usr/local/bin/sectoralarm user@name password panelId set alarm code ARMED_AWAY
Instead I get this output:
Traceback (most recent call last):
File "/usr/local/bin/sectoralarm", line 9, in
load_entry_point('sectoralarm==1.1.0', 'console_scripts', 'sectoralarm')()
File "/usr/local/lib/python2.7/dist-packages/sectoralarm/main.py", line 147, in main
args.new_status))
File "/usr/local/lib/python2.7/dist-packages/sectoralarm/session.py", line 158, in set_arm_state
urls.set_armstate(self._giid),
AttributeError: 'module' object has no attribute 'set_armstate'
It seems like set_alarm is not implemented in urls.py. Inspecting urls.py confirms that the method is not there.
I'll make a stab at implementing it and I'll give you a PR if I succeed.
Thanks for making this! Will save me a ton of time.
Running the following command should set the alarm state to partial activated:
python /usr/local/bin/sectoralarm user@name password panelId set alarm code ARMED_AWAY
Instead I get this output:
Traceback (most recent call last):
File "/usr/local/bin/sectoralarm", line 9, in
load_entry_point('sectoralarm==1.1.0', 'console_scripts', 'sectoralarm')()
File "/usr/local/lib/python2.7/dist-packages/sectoralarm/main.py", line 147, in main
args.new_status))
File "/usr/local/lib/python2.7/dist-packages/sectoralarm/session.py", line 158, in set_arm_state
urls.set_armstate(self._giid),
AttributeError: 'module' object has no attribute 'set_armstate'
It seems like set_alarm is not implemented in urls.py. Inspecting urls.py confirms that the method is not there.
I'll make a stab at implementing it and I'll give you a PR if I succeed.