How to set SONOFF SNZB-02 and use it in rules?

Hi guys!

Here is my items setting:

And here is a very simple rule … which does not work

triggers:
  - id: "1"
    configuration:
      itemName: TEMPSALON_Temperature
      state: ""
    type: core.ItemStateUpdateTrigger
conditions:
  - inputs: {}
    id: "3"
    configuration:
      itemName: TEMPSALON_Temperature
      state: "22"
      operator: <
    type: core.ItemStateCondition
actions:
  - inputs: {}
    id: "2"
    configuration:
      itemName: SONOFF4CHPROR32_Switch0
      command: ON
    type: core.ItemCommandAction

Can you help me please? Thanks

Your channel is supplying units. Make your Item into a Number:Temperature type, not a plain Number type.

Thanks for your help rossko57

I have already tried but without success

I think the problem comes from the transformation JSON

An idea?

Don’t use the profile. No-one said to use the profile.

Ok Rossko57,
Changes are made

So I come back to my rule:

triggers:
  - id: "1"
    configuration:
      itemName: TEMPSDB_Temperature
      state: ""
    type: core.ItemStateUpdateTrigger
conditions:
  - inputs: {}
    id: "3"
    configuration:
      itemName: TEMPMAX_Temperature
      state: "22"
      operator: <
    type: core.ItemStateCondition
actions:
  - inputs: {}
    id: "2"
    configuration:
      itemName: SONOFF4CHPROR32_Switch0
      command: ON
    type: core.ItemCommandAction

But she does not work…

An idea please? Thank you

Does your Item get any knid of update now? Does your rule fire with no condition?