-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
bashio::addon.option cannot set boolean #158
Comments
I found a workaround:
|
There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. |
still an issue |
Did you try |
Problem/Motivation
My addon has a boolean config option that starts as true, and after a successful initialization, my shell script sets it to false, to prevent re-initialization on the next launch. This isn't working because bashio adds quotation marks to everything.
Expected behavior
I run this code:
After that, I expect the toggle switch in the GUI to show off, but it's still on:
The API shows the value was set to
"false"
with quotes but it should not have quotes.The text was updated successfully, but these errors were encountered: