Because HA uses datime object. above are examples how to convert to local or custom format via template. Then you can use in esp as ‘text’
Hey guys
thanks a lot for your help, I finally got it sorted! And I learned a lot about using the template-editor for testing and importing sensors to my ESP32-configs. I managed to import a binary sensor myself which feels like I climbed the Mount Everest
For some reason before esphome didn’t know anything about the imported textsensor. After restarting from scratch I could reproduce nickrout’s results. I then started to understand what a text-sensor delivers and that the string-output from sensor.schafisheim_next_full_moon is too long for my display. From this point I was able to follow VietNgoc’s explanations and to format the string as desired. Thank you so much guys, huge learning to the weekend start!
That looks cool, I think I’ll try to create something with esp. I’ve got some boards lying around Thanks for inspiration