EuleMitKeule / device-tools

Device Tools: Create, modify and merge your Home Assistant devices.
72 stars 6 forks source link

Climate entities do not appear in drop down configuration lists #6

Open stiltjack opened 8 months ago

stiltjack commented 8 months ago

I have three, one Nest thermostat and two created with the generic thermostat integration. The Nest thermostat does not appear as a device either.

EuleMitKeule commented 8 months ago
options=[
    SelectOptionDict(
        {
            "value": entity.id,
            "label": entity.name or entity.entity_id,
        }
    )
    for entity in er.entities.values()
],

As you can see here, all of the entities that are returned by the home assistant entity registry should be listed in the entities dropdown. Maybe there is something that prevents your entities from being registered in the registry? I would try assigning a unique ID for the entities if possible and if they don't already have one.

rugbyopera commented 5 months ago

I have the same problem, but it's not climate entities. For me, it's sensor entities created with the Compensation integration. These entities have unique IDs and do exist in the registry.

{"aliases":[],"area_id":"69db6cee13be11eb8ea5f367372a0eda","categories":{},"capabilities":null,"config_entry_id":null,"device_class":null,"device_id":null,"disabled_by":null,"entity_category":null,"entity_id":"sensor.bedroom_sensors_humidity","hidden_by":null,"icon":"mdi:water-percent","id":"8fdd3cc33a2356984da6c615e523c028","has_entity_name":false,"labels":["hvac"],"name":"bedroom sensors humidity","options":{"cloud.alexa":{"should_expose":false},"conversation":{"should_expose":false},"cloud.google_assistant":{"should_expose":false},"sensor":{"display_precision":null}},"original_device_class":null,"original_icon":null,"original_name":"Compensation sensor.bedroom_sensors_humidity_raw","platform":"compensation","supported_features":0,"translation_key":null,"unique_id":"82e13793-75c6-4398-ab21-42ccb30193a","previous_unique_id":null,"unit_of_measurement":"%"},