Re-implemented the mode hex codes, e.g. "heat": "26000000..." and "cool": "2600000....".
These can now be used to change the mode independently of temperature changes - previously these values weren't used.
This supports AC units with separate mode change hex codes from Temperature changes. If the mode and temperature are changed, the unit is first set to the correct mode using the mode hex code, then the temperature set using the temperature hex code.
These mode hex codes are optional. Units the use hex codes containing all settings can be set in the temperature, or mode+temperature settings without these mode only codes.
Tidied up the mode logic
Moved mode change code out of the Temperature change functions to make the above tidier.
Fixed Readme config formatting
iOS13/tvOS13 appears to poll the device status more frequently. Adjusted default temperature update times to reduce duplication.
Removed duplicate onTemperature Calls to speed up refresh
Re-implemented the mode hex codes, e.g. "heat": "26000000..." and "cool": "2600000....". These can now be used to change the mode independently of temperature changes - previously these values weren't used. This supports AC units with separate mode change hex codes from Temperature changes. If the mode and temperature are changed, the unit is first set to the correct mode using the mode hex code, then the temperature set using the temperature hex code. These mode hex codes are optional. Units the use hex codes containing all settings can be set in the temperature, or mode+temperature settings without these mode only codes. Tidied up the mode logic Moved mode change code out of the Temperature change functions to make the above tidier. Fixed Readme config formatting