* 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 649b923804 (r1278620976), 649b923804 (r1278621039), 649b923804 (r1278620904), and 649b923804 (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>
This fixes the call to the Nextion display to change the pic id from a component.
It was previously changing the attribute `val`, which is related to something else.
In addition, I've changed the parameter for picture_id to be uint_8, as Nextion requires an integer from 0 to 255 on this attribute.