Closed thd99 closed 5 years ago
MiHome relays are the same as MiHome switches, so adding:
switch (device.device_type) { case "light": serviceType = Service.Switch; break; case "relay": serviceType = Service.Switch; break; default:
works great :)
Nice one! Feel free to submit a PR or I'll incorporate that next time I make any updates. Thanks.
Finally got round to doing this :) New release incoming... #2
MiHome relays are the same as MiHome switches, so adding:
works great :)