Rule for switching off never triggers

Have the following On rules for the kitchen hood. I want to run it on high vent while something is cooking unerneath (and that one works flawlessly) and go back to normal in 10 minutes after the event. The last one never happens - rule never triggers and following all the examples it should. Where could the mistake be?

  - alias: Kitchen Frying on
    trigger:
      - platform: numeric_state
        entity_id: sensor.kitchen_co
        above: 650
      - platform: numeric_state
        entity_id: sensor.kitchen_humidity
        above: 60
    condition: 
      - condition: state
        # check that we are not running this and set to on for the off rule
        entity_id: input_boolean.kitchen_highvent
        state: 'off'
      - condition: state
# This one just to make sure this rule is only working when somebody is home
        entity_id: input_boolean.rule_execution
        state: 'on'
    action:
      - service: here are some actions including
      - service: homeassistant.turn_on
        entity_id: input_boolean.kitchen_highvent

  - alias: Kitchen Frying off
    trigger:
      - platform: state
        entity_id: input_boolean.kitchen_highvent
        from: 'off'
        to: 'on'
        for:
          hours: 0
          minutes: 10
          seconds: 0
    action:
     some actions including setting boolean to off ...
  - service: homeassistant.turn_off
    entity_id: input_boolean.kitchen_highvent