This causes "October" is printed instead of October. So how would I be able to get rid of the quotation marks?
Preferably not having to create seperate sensors for all values that I want to use - Home Assistant doesn’t sent the state with quotes. I hope there is a nice solution.
No, the API is not quick enough and therefor not suitable for deep sleep. HA only connects to ESPhome every 60 seconds. To have the display come out of deep sleep and having to wait 60+ seconds for the numbers to show up is too long for my project.
This display comes on every 1 hour only to update. With MQTT this takes less than 6 seconds.
I had the code first with API. It would come on for 90s, refresh 3x to make sure the numbers updated and then went to deep sleep for 1 hour.
Yeah - I get that. I use it on all my deep sleep devices.
I suggest you have a look at text sensor filters - the substitute one probably won’t work for your purpose so maybe a lambda one calling std::substr or std::replace, both of which work in ESPHome.