fix: setProps for those who redefine their own characteristic properties
This is a very minor fix as nobody has used this feature in a long time.
If you redefine your characteristics properties they must be formatted like:
props: {
currentTemperature: { maxValue:32, minValue:1},
targetTemperature: {maxValue:32, minValue:1}
}
There was a bug that predefined the object and this feature was not documented properly. Also a unit test was implemented to test if the actually properties were changed.
Note: while Cmd4 allows you to change the properties and Homebridge accepts this; That is not to say that the HomeKit GUI will respect them.