maximkulkin / esp-homekit

Apple HomeKit accessory server library for ESP-OPEN-RTOS
MIT License
1.11k stars 170 forks source link

Fix int value casting on characteristics update #51

Closed kiurchv closed 6 years ago

kiurchv commented 6 years ago

With the current way to cast updated characteristic values with int format, due to flag h_value.is_bool set to true characteristic updates with int value format aren't triggering the callback function

maximkulkin commented 6 years ago

Nice catch, thank you!