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

GPIO Switch Fix restore_mode validator #296

Merged
merged 1 commit into from Jan 2, 2019

Conversation

Projects
None yet
2 participants
@yottatsa
Copy link
Contributor

yottatsa commented Jan 2, 2019

Description:

restore_mode: ALWAYS_OFF is throwing an Exception (re: #287)

Unknown value 'ALWAYS_OFF', must be one of '{'RESTORE_DEFAULT_ON': <esphomeyaml.cpp_generator.MockObj object at 0x10939df90>, 'ALWAYS_OFF': <esphomeyaml.cpp_generator.MockObj object at 0x1093e3050>, 'ALWAYS_ON': <esphomeyaml.cpp_generator.MockObj object at 0x1093e30d0>, 'RESTORE_DEFAULT_OFF': <esphomeyaml.cpp_generator.MockObj object at 0x10939df50>}'. Got 'ALWAYS_OFF'

Checklist:

  • The code change is tested and works locally.

@OttoWinter OttoWinter changed the title fix CONF_RESTORE_MODE validator GPIO Switch Fix restore_mode validator Jan 2, 2019

@OttoWinter OttoWinter merged commit 1d0c812 into OttoWinter:dev Jan 2, 2019

1 check failed

continuous-integration/travis-ci/pr The Travis CI build failed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment