Converted init_controllers and init_thermostats to use the bitmasks available, rather than discovery by bruteforcing. The U@Home webpage (Javascript) also uses these values to discover thermostats.
Converted all JSON building from string concatenation to python dictionaries.
Converted
init_controllers
andinit_thermostats
to use the bitmasks available, rather than discovery by bruteforcing. The U@Home webpage (Javascript) also uses these values to discover thermostats.Converted all JSON building from string concatenation to python dictionaries.