This adds specific mappings for the Xiaomi Smartplug and Water sensor.
I included parts of the package script to quickly calculate and package small changes in JS files without building the whole project. On my local machine building the project took several minutes even for one changed line of code.
Tested this with my local setup. Even though the smartplug now has only its supported properties, the instantaneous power report seems a bit odd.
247: The water sensor works now, however i had to re-pair it, until pressing the button made the LED flash quickly. At some point i tested the sensor with deConz, which might made it work.
This adds specific mappings for the Xiaomi Smartplug and Water sensor. I included parts of the package script to quickly calculate and package small changes in JS files without building the whole project. On my local machine building the project took several minutes even for one changed line of code.
Tested this with my local setup. Even though the smartplug now has only its supported properties, the instantaneous power report seems a bit odd.
247: The water sensor works now, however i had to re-pair it, until pressing the button made the LED flash quickly. At some point i tested the sensor with deConz, which might made it work.