robertklep / name.klep.homekitty

HomeyKit 3.0
15 stars 5 forks source link

windowcovering - tilt support #104

Closed bursacmilan closed 2 months ago

bursacmilan commented 2 months ago

Hi,

I've added support for window covering tilt and submitted a pull request for review. I’ve thoroughly tested it, and everything seems to be working smoothly.

In HomeKit, tilt values range from -90 to 90 degrees, whereas Homey uses a 0 to 1 scale (in 0.1 increments). As a result, I implemented a conversion between these two value systems.

Could you please review the pull request? I hope I didn’t overlook anything.

Thanks!

robertklep commented 2 months ago

Thanks! I assume that you have tried this and it's working for you? I don't have any window coverings myself so I can't check if it actually works 🥴

bursacmilan commented 2 months ago

Yes, I tried it, and it’s working fine.

robertklep commented 2 months ago

Available in v2.3.1.