Bticino Living Now DIN Power

Hello,
I am trying to create an automation using DIN Power reader of Bticino Living now.

My house has 3.5kw power and I want that if I am using a lot of power and the sensor read more than 3.0kw for 5 seconds, I want stop for example my washing machine or power off some light…

But if I set DIN Bticino on trigger and use ‘number trigger’, this doesn’t works.

How can I do?

Please show the code rather than describing it :wink:

yes, of course.

this never trigger
I am trying to change value in watt (2500) ir Kw (2.5 or 2,5)
but never trigger

this is the second part

I have tested again and now it works.
The big problem is only the refresh time of this DIN because usgin the BTicino Gateway I have an update every 5minutes. Incredible.