mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 15:38:11 +01:00
My Home-IoT
a4e70e9750
When running `esphome config` as a CLI tool, the output adds some escaping to any config property that ends with 'password', 'key', 'psk', or 'ssid' so that the dashboard can redact secrets. I was using `esphome config` for linting purposes and having the output transformed like this was causing problems for me. I attempted to figure out how to tell when the tool was being run in a context where the output would be going to the dashboard so that it would only do that under those circumstances, but I wasn't able to determine if there was any way to detect that. Since I couldn't figure that out I did what felt like the next best thing and just modified the regex so that only wraps those values when they don't start with `!secret`, which fixes the problem for my use case, and having the dashboard only redact values that actually contain secrets seems like a win to me too. |
||
---|---|---|
.devcontainer | ||
.github | ||
.vscode | ||
docker | ||
esphome | ||
script | ||
tests | ||
.clang-format | ||
.clang-tidy | ||
.coveragerc | ||
.dockerignore | ||
.editorconfig | ||
.flake8 | ||
.gitattributes | ||
.gitignore | ||
.pre-commit-config.yaml | ||
.yamllint | ||
CODE_OF_CONDUCT.md | ||
CODEOWNERS | ||
CONTRIBUTING.md | ||
LICENSE | ||
MANIFEST.in | ||
platformio.ini | ||
pyproject.toml | ||
README.md | ||
requirements.txt | ||
requirements_dev.txt | ||
requirements_optional.txt | ||
requirements_test.txt | ||
sdkconfig.defaults |
ESPHome
Documentation: https://esphome.io/
For issues, please go to the issue tracker.
For feature requests, please see feature requests.