Esp home I am trying to switch the inputs

Trying to switch the binary switch,
If open then say close
if close then say open

Right now my door is closed but it shows open. So like to switch what it says.

image

Have you tried removing inverted: True ?

So simple and overlooked. Sorry. New to esphome.