Siri sometimes sends a boolean instead of an int value. I made it so that a boolean value is accepted as an integer, the reverse is already implemented.
This bug was found when setting the "Active" characteristic of a Fan V2 with Siri.
Siri sends the value as a boolean, while the HAP spec states it expects a UInt8 value. The Home app or other HomeKit apps do seem to properly send a UInt8 in this case.
Siri sometimes sends a boolean instead of an int value. I made it so that a boolean value is accepted as an integer, the reverse is already implemented.
This bug was found when setting the "Active" characteristic of a Fan V2 with Siri. Siri sends the value as a boolean, while the HAP spec states it expects a UInt8 value. The Home app or other HomeKit apps do seem to properly send a UInt8 in this case.