I’m trying to adapt a switch so act as an alarm. For this I would like Armed (on), disarmed (off), and arming. Arming will be the 30 seconds you have to leave the house before the system is armed.
The trouble I’m having it getting a third variable to show in webcore. Are the values of on, off and functions TurnOn, and TurnOff hardcoded? Is it possible to add custom states and custom functions that are made “public”?