Looking for the "hello world" of ESPHome / HA variable display configs

I’ve read through this quite a bit and tried a bunch of schtuff:

I’m looking for a very simple code sample – no interactivity, just variables, really – of how one would take a state (let’s say, “outside temperature”) in Home Assistant and send it through to an ESPhome variable where it could then be printf’d to a display.

Has anyone written this kind of code yet?

Amazingly, yes https://esphome.io/cookbook/display_time_temp_oled.html

1 Like

Awesome! I also found this, doy:

Both exactly what I needed. Thanks @glmnet!