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

Line continuation in config files #167

Closed
wants to merge 1 commit into from

Conversation

ohinckel
Copy link

Some configuration options may get long values assigned (e.g. the eval or trigger settings). These long values are not very comfortable to be edited in an editor since the complete line is not shown.

To ease editing of these long values this patch introduces a continuation character (\) which can be used at the end of the line to indicate the following line should be appended.

[some_logic_configuration]
  filename = logic-script.py
  watch_item = \
    path.to.item|\
    path.to.item.child|\
    path.to.otheritem|\
    path.to.otheritem.child

@ohinckel
Copy link
Author

Created new PR smarthomeNG/smarthome#81 in new project and will close this issue now. Thanks for your great application!

@ohinckel ohinckel closed this Jul 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant