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

Fix yaml on/off boolean handling #82

Merged
merged 1 commit into from
Dec 6, 2020
Merged

Fix yaml on/off boolean handling #82

merged 1 commit into from
Dec 6, 2020

Conversation

CrazyIvan359
Copy link
Owner

The YAML parser used for reading the configuration considers on or off (case in-sensitive) to be boolean values, this leads to confusion when using them without quotes when a string is expected.

Boolean options have been added to selection lists where applicable and the config parser no longer converts the value to a string before attempt to match a selection key.

Fixes #80

@CrazyIvan359 CrazyIvan359 added the bug Something isn't working label Dec 6, 2020
@CrazyIvan359 CrazyIvan359 merged commit 7c24116 into master Dec 6, 2020
@CrazyIvan359 CrazyIvan359 deleted the config-booleans branch December 6, 2020 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Additional nested configuration option causes gpio module to not start anymore
1 participant