First this is the first time I am submitting a pull request so no sure I did it right...
This is a proposed change in file const.py to fix the issue encountered (KeyError) with version 1.5 (see issue 16 in Cyr-ius/hass-cozytouch repository)...
I corrected a typo in const.py: replaced <"frostprection": PRESET_FROSTPROTECTION> by <"frostprotection": PRESET_FROSTPROTECTION>
Added two lines in const.py to create a preset called PRESET_NONE to handle the preset mode "off"...
First this is the first time I am submitting a pull request so no sure I did it right...
This is a proposed change in file const.py to fix the issue encountered (KeyError) with version 1.5 (see issue 16 in Cyr-ius/hass-cozytouch repository)...
See atteched Zip Files...
const.zip