Closed github-user-5 closed 2 years ago
There is a way around it using an additional plugin. You can create a virtual switch in HomeKit using homebridge-dummy plugin, set it according to the automation and trigger other automations based on that virtual switch.
Implementing a panel as a binary switch is not possible due to the panel having more than one state (Disarmed/Stay/Away) - and an array of switches would be too complicated to manage.
Thanks for the workaround!
I've wanted to have an automation to turn the alarm to on or off depending on the occupancy, but homekit does not allow automations involving alarms. Would it be possible to have the panel switched to a general switch instead to get around this?