Arithmetic mean sensor - set value type?

Hey folks, I’m trying to configure a generic thermostat using the Helpers UI. I have two temperature sensors in the room and I’ve combined them using an arithmetic mean helper. However, I can’t select that new sensor as the target sensor for the climate device (not even manually pasting the entity_id). What’s the easiest way to do this?

Edit: What’s even stranger is I have an older generic climate for a different room that does have an arithmetic mean sensor as the target sensor! So I’m guessing there was a change at some point that disallowed this, but the older one was ‘grandfathered’ in

In order for them to be selectable in the Generic Thermostat Helper the sensor needs to have the device class temperature.

It’s more likely that one of the sensors in your new group just doesn’t match the others. If you are using a Sensor Group and all the component sensors have the same device class it will be passed to the new sensor, but if there is a mix of device classes it will not. You can assign a device class manually:

The easiest option will probably be to change the device class of the sensor group through its entity setting menu.

Ah! I was not using a sensor group helper, but the ‘combine the state of several sensors’ helper. Using a sensor group did the trick!

1 Like