Skip to content

Commit

Permalink
refactor: refactor climate.py (#614)
Browse files Browse the repository at this point in the history
* 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
SusanPhevos and topsworld authored Feb 19, 2025
1 parent 57422dd commit 20b0004
Show file tree
Hide file tree
Showing 2 changed files with 583 additions and 410 deletions.
Loading

0 comments on commit 20b0004

Please sign in to comment.