Open beckmx opened 3 years ago
Try using hap_set_initial_characteristic_bool_value
(mind the underscore between set
and initial
. Looks like there is a bug which falsely rewrites the bool function to an int function instead of the corresponding bool function: https://github.com/Yurik72/ESPHap/blob/c1b2f30f9e759b3948d9a171ad55c40b220d4682/homeintegration.c#L1254
Hello, I was wondering how to set the initial value for the bulb type, I noticed a method:
hap_setinitial_characteristic_bool_value
But when testing, appears a message about not being correctly set:
!!! HomeKit: Wrong default value
and How I created my service and default value: