-
-
Notifications
You must be signed in to change notification settings - Fork 13
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. |
github-actions
bot
added
the
stale
There has not been activity on this issue or PR for quite some time.
label
Apr 3, 2024
still an issue |
github-actions
bot
removed
the
stale
There has not been activity on this issue or PR for quite some time.
label
Apr 4, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: