Esphome - check the indentation lambda

Hi, i posted a question on another topic, and looking for help on ESPhome syntax.

Any advises, please?

TIA

Yes: don’t cross-post please.