Indoor temperature sensor for esphome air conditioner

Is there a way to create a sensor for the indoor temperature using ESPHome (not the standard Midea supplied dongle) on my Midea AC unit?

One shows up for the outdoor temperature, and the indoor temperature is visible in the “climate” entity.

But I want to be able to easily see all temperatures.

My ESPHome device shows up in home assistant as:

SLWF-01Pro by SMLIGHT

Firmware: 2024.4.2 (May 15 2024, 14:14:40)

I haven’t installed the ESPHome flashing tools, or if that allows my to set that up myself. I’m still trying to figure that out - running HA via docker compose.

So trying to work out what you are after? You have a climate via esphome that shows inside temperature in the home assistant interface?

The inside temperature should show up as an attribute in the climate entity.

In home assistant you can use a template to show data that is an attribute.

Yes, the inside temperature shows as part of the climate, but there is no separate sensor for it like I have for some Sonoff temperature sensors or for my Midea with its original dongle.

Can you point me to how to use a template to get that data as an attribute?

I was also trying to figure out if I can modify the device via ESPHome yaml to show the temperateure as a sensor but didn’t get anywhere so far.

1 Like

Thanks, I’ve been reading through that. I was hoping for something simpler or an example but haven’t found anything so far.

Templating is how you turn an attribute into a sensor.