Perfect!!!
[{"id":"e64fea4887d59053","type":"function","z":"c36d205f4de85948","name":"Initialize flow variables","func":"// Thresholds tasmota ENERGY Power\nflow.set('Threshold1', 10)\nflow.set('Threshold2', 25)\nflow.set('Threshold3', 50)\nflow.set('Threshold4', 100)\nflow.set('Threshold5', 1000)\n\n// PowerDeltas tasmota ENERGY Power\nflow.set('PowerDelta1', 3)\nflow.set('PowerDelta2', 5)\nflow.set('PowerDelta3', 10)\nflow.set('PowerDelta4', 15)\nflow.set('PowerDelta5', 50)\n\n// TemperatureDeltas Xiaomi\nflow.set('XiaomiTemperatureDelta1', 0.3)\n\n// HumidityDeltas Xiaomi\nflow.set('XiaomiHumidityDelta1', 1.5)","outputs":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":730,"y":50,"wires":[]},{"id":"65b6414216f9efb6","type":"inject","z":"c36d205f4de85948","name":"Initialize flow variables","props":[{"p":"payload"}],"repeat":"","crontab":"","once":true,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":50,"wires":[["e64fea4887d59053"]]},{"id":"d35b624de7c1676a","type":"function","z":"c36d205f4de85948","name":"Delete all flow variables","func":"const keys = flow.keys()\nfor (let index = 0; index < keys.length; index++) {\n const key = keys[index];\n flow.set(key, undefined)\n}\nreturn msg","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":450,"y":100,"wires":[["e64fea4887d59053"]]},{"id":"b4bf3edb1df92d53","type":"inject","z":"c36d205f4de85948","name":"Delete all flow variables","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":140,"y":100,"wires":[["d35b624de7c1676a"]]}]