stason325 / node-red-contrib-miio-localdevices

Nodes for controlling MIIO devices via node-mihome lib. List of devices and commands to be extended.
GNU General Public License v3.0
17 stars 7 forks source link

fixed global pollution in multi device #20

Open xiaohail opened 1 year ago

stason325 commented 1 year ago

Hi there. I didn't quite get what were the changes about?

Regards

xiaohail commented 1 year ago

Current OldData is a global variable When there are A and B xiaomi devices in NR The return value of the A device will be overwritten on the B device