mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 16:37:52 +01:00
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
7665a220a0
For printf formatting, a check is done to see if the number of arguments matches the number of printf formatting placeholders. The escape code `%%` that is used for representing a literal `%` is also counted as a placeholder, but no argument will be provided for that one. This makes it impossible to use something like `("%f%%", percentage)` in the code. In such case, one gets the error: `Found 2 printf-patterns (%f, %%), but 1 args were given!` This commit fixes this behavior by omitting the `%%` from the matches. Co-authored-by: Maurice Makaay <mmakaay1@xs4all.net> |
||
---|---|---|
.devcontainer | ||
.github | ||
.vscode | ||
docker | ||
esphome | ||
script | ||
tests | ||
.clang-format | ||
.clang-tidy | ||
.coveragerc | ||
.dockerignore | ||
.editorconfig | ||
.gitignore | ||
.gitpod.yml | ||
.pre-commit-config.yaml | ||
CODE_OF_CONDUCT.md | ||
CODEOWNERS | ||
CONTRIBUTING.md | ||
LICENSE | ||
MANIFEST.in | ||
platformio.ini | ||
pylintrc | ||
pyproject.toml | ||
pytest.ini | ||
README.md | ||
requirements_test.txt | ||
requirements.txt | ||
setup.cfg | ||
setup.py |
ESPHome
Documentation: https://esphome.io/
For issues, please go to the issue tracker.
For feature requests, please see feature requests.