Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Secret and Include directives in config #4

Merged
merged 1 commit into from Apr 10, 2018
Merged

Conversation

OttoWinter
Copy link
Member

This PR adds !include_* and !secret directives to the YAML loader. The code is more or less directly copied from Home Assistant's yaml utility module: https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/util/yaml.py

@OttoWinter OttoWinter merged commit 34605f1 into master Apr 10, 2018
@HeMan HeMan mentioned this pull request Apr 10, 2018
@jladefoged
Copy link

Is this feature descibed in the esphomeyaml docs somewhere? I can't seem to find any info or examples.

@OttoWinter
Copy link
Member Author

No, not yet. The thing is that for that one would first need to write docs for the whole configuration format - and that would be a very long process. As esphomeyaml uses pretty much exactly what Home Assistant uses for parsing, I would for now just point to Home Assistant's !secret and !include docs.

@OttoWinter OttoWinter deleted the config-secret branch September 29, 2018 05:50
@esphome esphome locked and limited conversation to collaborators Jun 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants