I was wondering how one would program a latch switch in the Homebridge plugin?
I want to arm and disarm the legacy alarm via a key switch whenever the Homebridge 'konneced' alarm is armed or disarmed in HomeKit. I've configured my old alarm's keyswitch to be a toggle/latch so that when the zone is open the alarm arms and when it's closed (3k3 ohms) the alarm disarms. I'd prefer this to a momentary switch because we can more easily keep the state in sync.
Hoping you can help :D