The generic type parameter should be either omitted or false
in production.
Change the state of an alarm panel. The function returns once the alarm has confirmed the state change. The call throws if 1) the panel code is incorrect 2) The panel is offline 3) the underlying API version has changed.
Fetch details about the support features of an alarm panel.
Fetch a list of high level information about alarm panels.
Request panel arm status.
Fetch temperature measurements from the devices connected to the panel.
Authenticate using the credentials specified in the constructor. The login flow emulates a user login and stores the authenticated cookie for subsequent API calls.
This function is used internally and does not need to be called directly.
Update the name and enable/disable the quick arm capability of an alarm panel.
SDK class that expose the Sector Alarm API.
Note that
login()
does not need to be called explicitly. The SDK will lazily calllogin()
to (re)authenticate when necessary.