dave-code-ruiz / uhomeuponor

Custom Component to connect Home Assistant with Uhome Uponor Smatrix App
MIT License
19 stars 7 forks source link

Introduce JSON-based api call method, refactor init methods #8

Closed LordMike closed 4 years ago

LordMike commented 4 years ago

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.