Invisible Fence Doorman Pet Door controlled with Relay Switch--tracking its state?

OK, so this is just a cycle switch? There are three states, and each button push just changes it to the next state in the cycle? Or is it a pattern switch, with a tap and a double tap or something like that?

If it’s a cycle switch, then I would think definitely three virtual switches and use core to turn those on and off based on keeping track of the events. Ask in the core peer Assistance thread and the experts there should be able to help you get it set up. :sunglasses: