According to Apple's "HomeKit Accessory Protocol Specification", the "Filter Life Level" characteristic expects the value type of float.
While hap_char_filter_life_level_create(float filter_life_level) in the esp-homekit-sdk expects a float as input, the constraints are set to integers.
This renders the service and accessory as incompatible to HomeKit.
Took me a while to understand the whole SDK :)
According to Apple's "HomeKit Accessory Protocol Specification", the "Filter Life Level" characteristic expects the value type of
float
. Whilehap_char_filter_life_level_create(float filter_life_level)
in theesp-homekit-sdk
expects afloat
as input, the constraints are set to integers.This renders the service and accessory as incompatible to HomeKit.