I now have a Homekit automation that reads the temparature at the bedroom radiator, and if it is over a certain amount, it opens the window...
(At some point I need to disconnect the Velux controller from Homekit, link it to @home-assistant.io, and then reexpose to Homekit for voice control.)