Humidity automation trouble

I have a dumb fan in my bathroom which i have connected to an Envilar ZigBee dimmer. That means it’s connected to my Hue setup. It shows up as a light though. I also have Tado thermostats in the entire house. What i am trying to achieve is that when the Thermostat in the bathroom registers humidity above 56%, then start the fan. And when below 52%, stop it again.
I can’t get it to fire. The stop part works, but it never starts automatically.

- id: '1549675365377'
  alias: Start udsugning
  trigger:
  - above: '56'
    entity_id: sensor.badevaerelse_humidity
    platform: numeric_state
  condition:
  - after: '6:00:00'
    before: '8:00:00'
    condition: time
    weekday:
    - mon
    - tue
    - wed
    - thu
    - fri
  - condition: or
    conditions:
    - after: '14:00:00'
      before: '22:00:00'
      condition: time
      weekday:
      - mon
      - tue
      - wed
      - thu
      - fri
  - condition: or
    conditions:
    - after: 08:00:00
      before: '23:00:00'
      condition: time
      weekday:
      - sat
      - sun
  action:
  - device_id: 11b29e8b7f004b3dbb477193719e1f41
    domain: light
    entity_id: light.blaeser
    type: turn_on
- id: '1550147571186'
  alias: Sluk udsugning
  trigger:
  - below: '52'
    entity_id: sensor.badevaerelse_humidity
    platform: numeric_state
  condition:
  - condition: device
    device_id: 11b29e8b7f004b3dbb477193719e1f41
    domain: light
    entity_id: light.blaeser
    type: is_on
  action:
  - device_id: 11b29e8b7f004b3dbb477193719e1f41
    domain: light
    entity_id: light.blaeser
    type: turn_off

I’d suggest to read carefully docs on numeric state trigger and check out the examples.
The thing is your above and below are strings - try to remove quotes.
The main thing, however, is what you do in action - is it how it works for zigbee? no service calls?
If you trigger your on automation, does it work at all?

I used the UI to fill in the stuff, I didn’t add the quotes, the system did. And I am thinking that since the part to turn it off works, it ought to work on the on part as well. Without service calls. But it doesn’t.

it’s difficult to help when you don’t get answers…

If i trigger it manually, it works. Not sure if it has something to do with my conditions.

good!

It’s easy to check. Just don’t forget trigger can potentially be an issue as well.

Next step is to trigger your automation with conditions - go to Developer tools → Services, select Services, choose automation.trigger and fill in entity_id and add skip_condition: false
For simplicity I’d suggest to replace your conditions with a less complex one i.e without weekday (and then gradually build it up when the whole automation works as intended).

When you get it to work, you’ll need to make sure it is triggered by HA (will discuss it later).

The condition section of the turn on automation is wrong. Should look something like this:

condition:
- condition: or
  conditions:
  - after: '6:00:00'
    before: '8:00:00'
    condition: time
    weekday:
    - mon
    - tue
    - wed
    - thu
    - fri
  - after: '14:00:00'
    before: '22:00:00'
    condition: time
    weekday:
    - mon
    - tue
    - wed
    - thu
    - fri
  - after: '08:00:00'
    before: '23:00:00'
    condition: time
    weekday:
    - sat
    - sun

See here for more info.