Helper (combine two values) cannot be selected as temperature entity in integrations, why?

I’d like to use a helper, that combines 6 zigbee temperature sensors and shows the lowest temperature amongst them. So that I can use that helper later in an automation. The helper works great and I can show it’s value in Graphs etc.-

The problem I have is, that I cannot select said helper as a temperature entity within an automation. It’s just not selectable within any blueprint or integration, that asks for a temperature sensor.

How can I change that?

It is probably the blueprint that uses filters to limit choices. The blueprint creator should be the one to fix it. It is impossible to know why your entity is not included without knowing how the blueprint is filtering.

You go on to name integrations and automtions as well: which integrtion are we talking about? Automations can be made on any entity, so that is unlikely.

Thanks for your fast reply!

I just uploaded a picture in the main post.

The configuration of the helper is shown in the top,
and the most important integration for my endeavor (Better Thermostat) is shown below, where I cannot select it as choice.

EDIT:
I found an Issue on GitHub with Better Thermostat, that describes my Issue and a possible solution.

But I don’t understand the solution yet, as I’m too new to this whole homeassistant.

I think the “Combine…” Helper should apply the correct device class to the resulting sensor as long as all the source sensors share the same device class.

Using the States tool, check that your source sensors all have an entry for device_class in the attributes column and that they are all temperature. If any of them lack a device class or have the wrong value, you can fix it in your configuration.yaml file using Manual Customization. If that doesn’t work, or they all already have device class properly set, manually add a device class to the combined sensor.

1 Like

It doesn’t seem to matter much.

I also created the helper anew to test, if it creates the device_class.

Then manually add the device class to the combined sensor entity.

Am I doing the syntax right?

I go to configuration.yaml and add:

homeassistant:
  customize:
    sensor.kombisensor_minimale_aussentemperatur:
      device_class: temperature

Yes, save the config and then restart Home Assistant.

1 Like

It worked! Thanks!

I added the following code to the configuration.yaml


homeassistant:
  customize:
  
#Helper als Temperatursensoren  

    sensor.kombisensor_aussentemperaturen:
      device_class: temperature
    sensor.kombisensor_minimale_aussentemperatur:
      device_class: temperature
    sensor.kombisensor_innentemperatur:
      device_class: temperature

#Helper als Feuchtigkeitssensoren        
      
    sensor.kombisensor_innenluftfeuchtigkeit:
      device_class: humidity
    sensor.kombisensor_feuchtigkeit_fenstersensoren:
      device_class: humidity
    sensor.kombisensor_aussenluftfeuchtigkeit_in_prozent:
      device_class: humidity

I can now select the helpers in the integration:

1 Like