Tried AI and failed…not really surprising. Next time I’d start by using real intelligence and just go search the esphome documentation because, it specifically addresses this and has examples. Not only that but, you’ll learn new things and increase your intelligence instead of using AI and learning nothing at all.
ha-panel.yaml: In lambda function:
ha-panel.yaml:534:30: error: ‘class esphome::homeassistant::HomeassistantTextSensor’ has no member named ‘now’
*** [.pioenvs/ha-panel-1/src/main.o] Error 1
Thats a good question and unfortunately I have no idea about alternate languages. An alternative that would work is using substitutions just like the documentation explains and you may want to visit there.