Convert Boolean to Text

Hello I need some assistance with this shortcut. I created a shortcut where it just gives me the power state of all of my lights at my house in Quick Look. Some of the results are coming in as 0 or 1 which is False and True. The others are showing off and on.

It looks like if the room contains 1 light it displays it as Boolean but if the room contains a group of lights it will display it as off or on. How do I convert the 0 or 1 to Off and On in Quick Look?

Any assistance will be appreciated. I attached the shortcut below.

Thanks!

https://www.icloud.com/shortcuts/d592a24c91594502b677908eab6598ed