I thought I was on to something last night with a iOS Shortcuts automation that took the Velux skylight open position as a number and used IFTTT webhooks to set a virtual shade device in Hubitat.
The IFTTT rule was working well, but then I discovered that Shortcuts can trigger URL events (the IFTTT webhooks) but Automation activities (like open at 9am, close at midnight) doesn’t seem to be able to have GET URL as an output.
The only thing I could think of that would work, and REALLY don’t want to do it is to have a device automation that checks the status of the skylight then fires off the webhook and have it run every hour or half hour, just means I have to create 24-48 automations (times 5 skylights) and I only get 30 min granularity, and it’ll mean that I’ll have a shortcut notification to clear on my phone every 30 mins, which is unacceptable.