HAP-python icon indicating copy to clipboard operation
HAP-python copied to clipboard

Missing ColorTemperature Characteristic and StatefulProgrammableSwitch service.

Open titus-leistner opened this issue 7 years ago • 3 comments
trafficstars

As the title states, the ColorTemperature Characteristic that Apple introduced in iOS 10.3 is missing. Also there is no StatefulProgrammableSwitch Service.

titus-leistner avatar Aug 20 '18 23:08 titus-leistner

Here is the color temp: https://github.com/ikalchev/HAP-python/blob/dev/pyhap/resources/characteristics.json#L185

As for the Switch, I only see a Stateless Programmable switch. Let me look into it and I will get back to you

ikalchev avatar Aug 21 '18 04:08 ikalchev

Oh, sorry I overlooked this line in the characteristics.json. But isn't it missing in the Lightbulb service?

https://github.com/ikalchev/HAP-python/blob/dev/pyhap/resources/services.json#L292

titus-leistner avatar Aug 21 '18 12:08 titus-leistner

Technically yes, however optional characteristics must be added manually anyway. Therefore it doesn't make that big of a difference.

cdce8p avatar Aug 25 '18 14:08 cdce8p