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
The integration breaks on 2024.12 (I’m in beta). See here [Bug] Integration fails to load under Core-2024-12.xx · Issue #12 · ngocjohn/lunar-phase · GitHub
Yup dead in the water. I was going to give it a day or so as it seems it may not be the only one with this issue, but probably better to get ahead of it.
Edit: Works a charm with Lunar Phase 0.2.1 in 2024.12