sindresorhus/Actions

Enhancement suggestion: Support "on" and "off" as text input options in GetBooleanFromInput

ari-abendstern opened this issue · 3 comments

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

This is supported in the latest TestFlight build: https://testflight.apple.com/join/fJGUrsZx

Oh amazing, thanks for letting me know! Apologies if I should have realised that, I'm new to open source type things :)

Now also available in the latest App Store release.