I have several remote switches that I want to use to toggle lights on and off. The only way to do that with HomeKit is with "Convert to ShortCut," but I do not seem to be able to insert an action after the If statement.
- In the configuration for a button press I select "Add or Remove Accessories and Scenes."
- In the sheet I scroll to the bottom "Convert to Shortcut."
- I delete Set ... and Add the Action "Scripting."
- I select the Control Flow "If.
- I enter the light and condition "If Tower is off." So far so good.