hap-java / HAP-Java

Java implementation of the HomeKit Accessory Protocol
MIT License
153 stars 82 forks source link

#86 Fix thermostat for ios13 #87

Closed yfre closed 4 years ago

yfre commented 5 years ago

set target temperature is not working in ios13 as ios13 expected temperature unit (celsius, fahrenheit) to be changeable. the temperature unit is used in homekit only for displaying purposes. at the protocol level the celsius is used as basis.

this patch makes temperature unit changeable.

ccutrer commented 5 years ago

I can confirm that this fixed my thermostat with ios13

amedeomantica commented 4 years ago

+1