I want to use the app Smart Alarm.
And for the remote controller I want to use a switch.
However, the app only accepts button as a remote controller.
So I would like to create a virtual controller with 2 buttons.
When the switch is on, button 1 will be pressed , when the switch is off button 2 will be pressed.
Now 2 questions:
How can I create a button device with 2 buttons ?
With which app can I bind the switch to the buttons ?
(Rule machine , CoRE ?)