sindresorhus / Actions

⚙️ Supercharge your shortcuts
https://sindresorhus.com/actions
2.65k stars 115 forks source link

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

Closed ari-abendstern closed 1 month ago

ari-abendstern commented 2 months ago

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 2 months ago

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

ari-abendstern commented 2 months ago

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

sindresorhus commented 1 month ago

Now also available in the latest App Store release.