Triggering Alexa routines with Virtual Sensors

I have set up the integration using the Amazon Developer account and AWS. My HA is linked to Alexa and I can see my HA devices. I created a virtual binary sensor:

  - platform: virtual
    name: 'Binary Sensor 1'
    initial_value: 'off'
    class: window
    initial_availability: true

which works and is visible as an Alexa device. When I toggle the sensor, the device in Alexa follows along so I know the communication is working. When I create a routine using the sensor it fails to trigger. I’m puzzled why since I can see the sensor changing from Open/Close in the Alexa app. Any ideas what is wrong? Thank you.