KraigM / homebridge-wink

Wink hub plugin for HomeBridge
54 stars 37 forks source link

leakSMART Sensor #41

Open mriksman opened 8 years ago

mriksman commented 8 years ago

There is no support for water sensors.

I have added support to my js file by copying the Humidity Detection, and setting;

  that.device.last_reading.liquid_detected
  .addService(Service.LeakSensor)
  .getCharacteristic(Characteristic.LeakDetected)

But I have no idea how to use github, or submit stuff, so hopefully someone here can add the support.