Blueprint causes error : generated invalid automation with inputs'

I created a blueprint based off of an automation and I’m getting this error:

Logger: homeassistant.components.automation
Source: components/automation/__init__.py:626
Integration: Automation ([documentation](https://www.home-assistant.io/integrations/automation), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+automation%22))
First occurred: 3:47:39 PM (1 occurrences)
Last logged: 3:47:39 PM

Blueprint Humidity Fan/Timer generated invalid automation with inputs OrderedDict([('humidity_sensor', 'sensor.basement_bathroom_sensor_humidity'), ('fan_switch', 'switch.basement_bathroom_fan_switch')]): extra keys not allowed @ data['action'][0]['type']. Got None

with the blueprint:

blueprint:
  name: Humidity Fan/Timer
  description: Turn on fan in high humidity, turn off after x minutes or after humidity drops 
  domain: automation
  input:
    humidity_sensor:
      name: Humidty Sensor
      selector:
        entity:
          device_class: humidity
    fan_switch:
      name: Fan Switch
      selector:
        entity:
          domain: switch
trigger:
- platform: device
  type: turned_on
  entity_id: !input fan_switch
- platform: numeric_state
  entity_id: !input humidity_sensor
  above: '60'
condition: []
action:
- type: turn_on
  entity_id: !input fan_switch
- wait_for_trigger:
  - platform: numeric_state
    entity_id: !input humidity_sensor
    below: '60'
  timeout: 0:20
- type: turn_off
  entity_id: !input fan_switch
mode: single

It is valid yaml. I’ve looked at other examples, and this appears correct to my eyes. Any assisstance? Is there linter or resource on what a valid blueprint looks like? All I find in the documentation are very simple examples.

I hate to bump for no reason, but I’ve been messing with this all week and haven’t had any luck. can I get any suggestions?