Node Red ruke does not work

Hello,

I have tried my first Node-Red rule. I have looked a youtube video, but my first rule does not work.

Simple case: if my CO2 sensor over 1000ppm turn on the fan:

grafik

Node “CO2_Lueftung” events: State
Name: CO"_Lueftung
Server: Home Assistant
Entity: eg_wk_tp Kohlendioxid
If State > 1000

Node “call service”
Name: Luefter AN
Server: Home Assistant
Domain: switch
Service: turn_on
Area:
Device:
Enitity: eg_wk_zs_lu

What am I doing wrong?

Thanks!
Michael

It’s hard to say what is going on because the error is not clear. The node shows a value of 488 which should not trigger the flow since that value needs to be above 1000.

When it hits over 1000 what happens?