Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: refactor climate.py (#614)
* feat: add thermostat as climate entity * feat: add bath-heater as climate entity * refactor: climate entity * fix: thermostat on/off * fix: get the current fan mode * perf: get fan level * fix: fix climate hvac_mode * fix: misuse of getting key or value from dict[int, any] * style: add comments * style: format the file based on google style * fix: initialize _attr_hvac_modes * feat: add heat and defog mode of ptc bath heater --------- Co-authored-by: topsworld <[email protected]>
- Loading branch information