Humidifier that never turns on

Here is a tiny and simple automation and the shelly is always between 35-45%. But the automation never turns on, can someone see a failure in it?

alias: Venta Schlafzimmer
description: Schaltet Venta über Luftfeuchte ein
trigger:

  • type: humidity
    platform: device
    device_id: 550c2a2ea0e68f8d7e505f9b5bf8fce8
    entity_id: sensor.shellyht_211467_humidity
    domain: sensor
    below: 50
    for:
    hours: 0
    minutes: 5
    seconds: 0
    condition: []
    action:
  • type: turn_on
    device_id: e72e4364fd7ab9d5066a1acba696a4f1
    entity_id: switch.venta_schlafzimmer_plug
    domain: switch
  • delay:
    hours: 1
    minutes: 0
    seconds: 0
    milliseconds: 0
  • type: turn_off
    device_id: e72e4364fd7ab9d5066a1acba696a4f1
    entity_id: switch.venta_schlafzimmer_plug
    domain: switch
    mode: single

What is the bacis bug inside?

https://community.home-assistant.io/t/how-to-help-us-help-you-or-how-to-ask-a-good-question/114371#oneone-format-it-properly-16

Automations are executed on triggers, so that one will only execute when going from above 50 to below 50 (and stay below for 5 min).
If humidity is indeed always under 50, the automation will never trigger.

You can add a trigger on “homeassistant_start” event , and control the condition in “condition:” to mitigate, but note that the automation will never trigger again if activating the humidifier for 1h would not be sufficient to go over 50.