Enhancement suggestion: Support "on" and "off" as text input options in GetBooleanFromInput
ari-abendstern opened this issue · 3 comments
ari-abendstern commented
When making API calls to Home Assistant their so-called boolean values are returned as "on" or "off" strings. I'm guessing that (although unusual) there are other services that do the same. It would be great to be able to convert these to booleans without using my current workarounds
sindresorhus commented
This is supported in the latest TestFlight build: https://testflight.apple.com/join/fJGUrsZx
ari-abendstern commented
Oh amazing, thanks for letting me know! Apologies if I should have realised that, I'm new to open source type things :)
sindresorhus commented
Now also available in the latest App Store release.