

13059805d0
Add support for new modes in Tuya Climate (#5159)
* Add support support for new modes
Added support for Fan Only Mode, Dry Mode, Swing Mode and Fan Speed Control.
Also added/fixed support for entity states syncing with current operation mode.
* Add support for more climate modes in climate.tuya
Added support for Fan Only Mode, Dry Mode, Swing Mode and Fan Speed Control.
Also added/fixed support for entity states syncing with current operation mode.
This commit fixes the namespace, because I uploaded the test files to start with.
* Code Formatting Changes per Clang format.
* More clang formatting fixes.
* Breaking Change: Group YAML entries by type
Add grouping to Preset, Swing Mode, Fan Speed and Active State. This is a breaking change.
* Formatting Changes for validation
Formatting changes to be compliant with black and flake8. Also changed constants to match expected format.
* More constant value fixes
* Final black formatting check?
* Changes to init.py according to reviewer requests
Make changes to _init_.py according to https://github.com/esphome/esphome/pull/5159/files/649b923804c05fa6ee750e824e3d7d70fadeabd9#r1278620976, https://github.com/esphome/esphome/pull/5159/files/649b923804c05fa6ee750e824e3d7d70fadeabd9#r1278621039, https://github.com/esphome/esphome/pull/5159/files/649b923804c05fa6ee750e824e3d7d70fadeabd9#r1278620904, and https://github.com/esphome/esphome/pull/5159/files/649b923804c05fa6ee750e824e3d7d70fadeabd9#r1278620549
Also put Sleep preset in its own config block to be consistent with other presets and fix logic for validate_cooling_values function to better align with existing documentation.
* Commit reviewed change
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* update deprecated config option wording
* add "this->" to member variables that were missed
adding "this->" to some member variables in the swing_mode function.
* Update _init_.py to use Python 3.8 Walrus operator
Adding Walrus Operator in the to_code function for _init_.py similar to https://github.com/esphome/esphome/pull/5181
* Fix Temperature_Multiplier config entry for code generation
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2024-03-20 19:40:14 -05:00
..
2022-02-18 10:39:59 +13:00
2024-03-20 19:40:14 -05:00
2023-04-23 20:51:32 +00:00
2024-02-21 10:40:17 +13:00
2023-07-12 13:28:48 +12:00
2023-10-03 13:23:18 +13:00
2023-03-26 20:01:35 +00:00
2023-11-05 23:13:01 +00:00
2022-08-31 13:43:46 +12:00
2023-10-29 22:00:47 +00:00
2022-05-16 07:44:14 +12:00
2022-11-24 13:12:55 +13:00
2024-01-20 02:30:57 +13:00
2024-01-20 02:30:57 +13:00