My Home-IoT
Find a file
Moriah Morgan 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 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>
2024-03-20 19:40:14 -05:00
.devcontainer Provide example devcontainer config for mdns and USB passthrough (#6094) 2024-02-21 10:49:59 +13:00
.github Bump actions/cache from 4.0.1 to 4.0.2 (#6404) 2024-03-20 21:15:03 +13:00
.vscode proto generation updates (#4653) 2023-06-12 17:00:34 +12:00
docker Allow to specify global build directory (#6276) 2024-02-26 11:26:08 +13:00
esphome Add support for new modes in Tuya Climate (#5159) 2024-03-20 19:40:14 -05:00
script Fix list-components when PR is not targeting dev (#6375) 2024-03-16 14:22:34 +13:00
tests Allow setting htop for ledc (#6340) 2024-03-20 21:17:32 +13:00
.clang-format Configure clang-format for consistent pointer alignment (#1890) 2021-06-10 12:55:20 +02:00
.clang-tidy Bump clang-tidy from 11 to 14 (#5160) 2023-07-31 07:44:56 +12:00
.coveragerc Unittests for esphome python code (#931) 2020-03-12 14:27:22 -07:00
.dockerignore More VSCode devcontainer improvements (#1934) 2021-06-22 16:37:05 +02:00
.editorconfig YAML linting (#3779) 2022-09-06 15:48:01 +12:00
.gitattributes Add transparency support to all image types (#4600) 2023-05-22 08:03:21 +12:00
.gitignore Wireguard component (#4256) 2023-09-12 07:13:24 +12:00
.pre-commit-config.yaml Bump pyupgrade from 3.15.0 to 3.15.1 (#6247) 2024-02-21 16:57:51 +13:00
.yamllint Fix yamllint (#6253) 2024-02-21 17:14:30 +13:00
CODE_OF_CONDUCT.md Update email addresses (#1733) 2021-05-03 11:51:10 +12:00
CODEOWNERS Added Kamstrup Multical 40x component (#4200) 2024-03-13 16:01:22 +13:00
CONTRIBUTING.md Remove lingering note (#5916) 2023-12-13 10:46:11 +09:00
LICENSE 🏗 Merge C++ into python codebase (#504) 2019-04-17 12:06:00 +02:00
MANIFEST.in Update Manifest to rmeove unused dashboard files and include .c ethernet drivers (#4459) 2023-02-19 19:12:29 +00:00
platformio.ini Bump ESP8266 Arduino versions (#5359) 2024-03-20 21:16:10 +13:00
pylintrc Bump pylint from 2.13.9 to 2.14.3 (#3589) 2022-06-21 16:27:33 +12:00
pyproject.toml Bump python min to 3.9 (#3871) 2022-10-05 20:09:27 +13:00
pytest.ini Unittests for esphome python code (#931) 2020-03-12 14:27:22 -07:00
README.md Rename master branch to release (#1976) 2021-07-02 15:42:36 +02:00
requirements.txt Require xsrf/csrf when using a password (#6396) 2024-03-19 13:39:01 +13:00
requirements_dev.txt clang-format and clang-tidy scripts: More robust algorithm to find correct executable (#6041) 2024-01-02 23:00:52 -06:00
requirements_optional.txt Bump aioesphomeapi to 21.0.2 (#6188) 2024-02-07 04:07:37 +09:00
requirements_test.txt Bump pytest-asyncio from 0.23.5.post1 to 0.23.6 (#6402) 2024-03-20 21:14:15 +13:00
sdkconfig.defaults Set ESP32 watchdog to loop task (#2846) 2021-12-02 09:05:42 +13:00
setup.cfg add-black (#1593) 2021-03-07 16:03:16 -03:00
setup.py Bump python min to 3.9 (#3871) 2022-10-05 20:09:27 +13:00

ESPHome Discord Chat GitHub release

ESPHome Logo

Documentation: https://esphome.io/

For issues, please go to the issue tracker.

For feature requests, please see feature requests.