Updating properties is a bit of a mess right now. It's probably not a huge problem, since we only have three properties we can write back, but it'd be nice to streamline that code a bit.
Should the new values be stored in a human-readable format (like degrees Celcius for the set-point temperature) or the thermostat's format (like raw numbers for schedule mode)?
Can't we tighten the logic for reading, updating, and writing back characteristics?
Where should the code for parsing the input to the set command be?
Updating properties is a bit of a mess right now. It's probably not a huge problem, since we only have three properties we can write back, but it'd be nice to streamline that code a bit.
Should the new values be stored in a human-readable format (like degrees Celcius for the set-point temperature) or the thermostat's format (like raw numbers for schedule mode)?
Can't we tighten the logic for reading, updating, and writing back characteristics?
Where should the code for parsing the input to the
setcommand be?