This changes the thermostat channel detection to just rely on reading the attributes rather than requesting the supported attributes list from the device. This should make the detection more robust as we have seen a thermostat that incorrectly reports the supported attributes.
The downside of this is that more requests are made to the device - 8 requests rather than 1. However this is only required during initialisation, and it seems that robustness is probably a stronger requirement here.
This changes the thermostat channel detection to just rely on reading the attributes rather than requesting the supported attributes list from the device. This should make the detection more robust as we have seen a thermostat that incorrectly reports the supported attributes.
The downside of this is that more requests are made to the device - 8 requests rather than 1. However this is only required during initialisation, and it seems that robustness is probably a stronger requirement here.
Signed-off-by: Chris Jackson chris@cd-jackson.com