michielpost / Q42.HueApi

C# helper library to talk to the Philips Hue bridge
MIT License
411 stars 114 forks source link

Add ZLLRelativeRotary model properties to support Hue Tap Dial switch #307

Closed BenjaminGreene closed 1 year ago

BenjaminGreene commented 1 year ago

Specification per https://developers.meethue.com/develop/hue-api/supported-devices/ section 4.4.

The Hue Tap Dial switch exposes two sensors - the first to support the button, and the second to support the dial. The dial sensor exposes rotaryevent in place of buttonevent on both capabilities and state, with a couple of extra properties on state.

I'm aware that this version of the library is legacy, but as the v2 API does not support rule editing I'm hoping you're still happy to review PRs.

michielpost commented 1 year ago

Thanks for the PR! Included with release 3.22.0 on NuGet