tonesto7 / homebridge-smartthings

SmartThings Homebridge Plugin
384 stars 768 forks source link

Detect WindowShade via “presetPosition” command #249

Closed bendews closed 6 years ago

bendews commented 6 years ago

As in title, SmartThings supports a "Window Shade" device type now, which means support for the custom "levelOpenClose" is no longer required.

For backwards compatibility reasons I believe it should be left in, but I am proposing to also check if the device supports the "presetPosition" command, which is unique to the Window Shade device type.