My Home-IoT
Find a file
Connor Prussin 051a1e4772
Add a datapoint to sync the Tuya MCU minimum brightness (#1347)
The Tuya MCU keeps its own internal minimum brightness setting.  This value may
not match the minimum brightness setting for ESPHome, leading to some issues:

1. Dimming is limited--on some devices the default minimum is as high as 10%,
meaning the dimmest ESPHome will go is still quite bright.

2. HA will allow a user to set a value below the MCU minimum, but the MCU will
reject it and keep the previous setting, so the UI is confusing.

This PR adds a setting to configure the datapoint for setting the MCU minimum
brightness.  If the setting is set, then ESPHome will synchronize the MCU's
minimum brightness with the one configured for ESPHome on startup.
2020-11-06 12:53:25 +13:00
.devcontainer Add lambda to devcontainer config (#1059) 2020-05-19 21:02:10 -03:00
.github Update actions to move away from set-env (#1349) 2020-11-02 11:49:08 +13:00
docker Bump docker base image to 2.6.0 (#1245) 2020-08-08 18:42:21 +02:00
esphome Add a datapoint to sync the Tuya MCU minimum brightness (#1347) 2020-11-06 12:53:25 +13:00
script Add rc522 (#1298) 2020-10-27 12:41:57 +13:00
tests Add support for ATC_MiThermometer (#1291) 2020-11-04 06:36:11 +13:00
.clang-format 🏗 Merge C++ into python codebase (#504) 2019-04-17 12:06:00 +02:00
.clang-tidy 🏗 Merge C++ into python codebase (#504) 2019-04-17 12:06:00 +02:00
.coveragerc Unittests for esphome python code (#931) 2020-03-12 14:27:22 -07:00
.dockerignore Fix docker build 2018-09-25 10:30:45 +02:00
.editorconfig Create .editorconfig (#524) 2019-05-08 15:37:18 +02:00
.gitignore Feature/wizard tests (#1167) 2020-07-23 23:51:14 +02:00
.gitpod.yml extract and use current version of python 3 (#938) 2020-01-09 13:27:39 -08:00
.pre-commit-config.yaml Bugfix/normalize core comparisons (and Python 3 update fixes) (#952) 2020-01-13 14:35:55 -08:00
CODE_OF_CONDUCT.md Add Code of Conduct (Contributor Covenant) (#168) 2018-10-12 11:26:26 +02:00
CODEOWNERS Add support for ATC_MiThermometer (#1291) 2020-11-04 06:36:11 +13:00
CONTRIBUTING.md Rename esphomeyaml to esphome (#426) 2019-02-13 16:54:02 +01:00
LICENSE 🏗 Merge C++ into python codebase (#504) 2019-04-17 12:06:00 +02:00
MANIFEST.in Fix sdist missing requirements.txt (#1214) 2020-07-28 14:29:01 +02:00
platformio.ini Bump ESPAsyncTCP from 1.2.2 to 1.2.3 (#1227) 2020-07-30 11:38:57 +02:00
pylintrc Revert "Sort keys in dicts in output yaml for 'config' command (#1049)" (#1191) 2020-07-25 14:21:56 +02:00
pytest.ini Unittests for esphome python code (#931) 2020-03-12 14:27:22 -07:00
README.md Update README.md 2019-02-14 13:49:22 +01:00
requirements.txt Bump pytz from 2020.1 to 2020.4 (#1354) 2020-11-04 07:11:13 +13:00
requirements_test.txt Bump pytest from 6.1.1 to 6.1.2 (#1342) 2020-11-04 07:06:42 +13:00
setup.cfg Bugfix/normalize core comparisons (and Python 3 update fixes) (#952) 2020-01-13 14:35:55 -08:00
setup.py Improve setup.py 2020-07-24 10:35:07 +02:00

ESPHome Build Status 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.