Binary Sensor Changing State Text

Please format your pasted code so we can see what is wrong.

https://community.home-assistant.io/t/how-to-help-us-help-you-or-how-to-ask-a-good-question/114371#oneone-format-it-properly

If you apply the garage_door device class it will change the displayed state to open/closed (the actual state will still be on/off). The garage icon will change from open to closed with the state as well.

https://www.home-assistant.io/integrations/binary_sensor/#device-class