Blueprint error: Unknown entity registry entry

Hi,
I’m creating my first blueprint and I have it as such

blueprint:
  name: Exhaust Fan
  description: Turn on/off exhust fan automatically
  domain: automation

  input:
    humidity_entity:
      name: Humidity Sensor Entity
      selector:
        device:
          entity:
            domain:
              - sensor
            device_class: humidity
    exhaust_fan_switch_entity:
      name: Exhaust Fan Switch
      selector:
        device:
          entity:
            domain:
              - switch
    humidity_threshold:
      name: Humidity Threshold
      description: Humidity Percentage to trigger exhaust fan
      selector:
          number:
            min: 0
            max: 100
            unit_of_measurement: "%"
            mode: box
trigger:
  - platform: numeric_state
    entity_id: !input humidity_entity
    for:
      hours: 0
      minutes: 0
      seconds: 10
    above: !input humidity_threshold
    id: on_humitidy
  - platform: numeric_state
    entity_id: !input humidity_entity
    below: !input humidity_threshold
    id: off_humidity
  - platform: state
    entity_id: !input exhaust_fan_switch_entity
    to: "on"
    for:
      hours: 0
      minutes: 10
      seconds: 0
    id: off_time
condition: []
action:
  - if:
      - condition: trigger
        id:
          - on_humitidy
          - on_switch
    then:
      - service: switch.turn_on
        target:
          entity_id: !input exhaust_fan_switch_entity
        data: {}
  - if:
      - condition: trigger
        id:
          - off_time
          - off_humidity
    then:
      - if:
          - condition: and
            conditions:
              - condition: state
                entity_id: !input exhaust_fan_switch_entity
                state: "on"
                for:
                  hours: 0
                  minutes: 10
                  seconds: 0
              - condition: numeric_state
                entity_id: !input humidity_entity
                below: 65
        then:
          - service: switch.turn_off
            target:
              entity_id: !input exhaust_fan_switch_entity
            data: {}
mode: single

The blueprint loads fine but when I try to use it and click save i’m getting

Message malformed: Unknown entity registry entry b8b84274f06ef2cc6f9e414542e9666c

Not sure how to debug this or what the error might be

You have device selectors on the inputs and it looks like most of the rest of the BP you are using entities. Use one or the other, and I strongly suggest use all entities.

Thanks, my intent was to use entities but I didn’t catch the input being device. I must have copied the wrong section from the docs
Thanks!