How to set the entity_id?

In my HA I have integrated Homematic IP. All the entities are visible and used in cards (included wirh their serialnummbers). Only the central unit named HmIP-CCU3 doesn’t work fine.


I tried to insert the id into YAML-Code “Statusattribute” with:
id: 9BE9A3C(etc.)
in the first line.
But this doesn’t work.
Please help.
Do you need more informationes?

The unique ID has nothing to do with your ability to use it - and you didn’t say what doesn’t work fine means.

Thank you for your answer.
The message is (translated):
This entity (“homematic.ccu3”) does not have a unique ID, so the settings cannot be managed via the UI.
My intention is to set a unique ID for the entity ‘homematic.ccu3’. But how to do this?

You can’t. This is something that has to be implemented in the integration.

You missed the FAQ entry

It’s not an error, it’s not even a warning, it’s just an informational message.

Why do you want to do this? If we know the reason for your intention, maybe we can help.

Hello Matthias
I don’t use an integration for Homematic IP (HM).
I connect with this code in configuration.yaml:

# Homematic Konfiguration -------------------------------------------
homematic:
  interfaces:
    rf:
      host: 192.168.1.27
      resolvenames: json
      username: !secret ha-username
      password: !secret ha-password
    ip:
      host: 192.168.1.27
      port: 2010
    groups:
      host: 192.168.1.27
      port: 9292
      resolvenames: json
      username: !secret ha-username
      password: !secret ha-password
      path: /groups
  hosts:
    ccu3:
      host: 192.168.1.27
      username: !secret ha-username
      password: !secret ha-password
      # id: 9BE9A3C804 wie einfügen???

Now my question is still the same: How to set the serialnumber as the unique id?

The reason is simple:
With a unique id the card on the dashboard has more possibilties, without there is nothing to set.

Yes you do. Some integrations are configured via the UI (user interface) some are configured with YAML (like yours), but they are both still integrations.

Please read the FAQ that Tinkerer linked to above.

I had read the FAQ, but (sorry) I can’t find a solution for my problem.

Because there is none. You can file a feature request to have your integration provide unique_ids or, if you know some Python :snake: celebrate Hacktoberfest by contributing it yourself.

1 Like

We still don’t know WHAT the problem is. You only say it “doesn’t work fine” but you don’t explain in what way it doesn’t work.

As for not being able to manage the device from the UI, it’s not clear what you want to manage, if you are just looking to change it’s name, you can do that in Customization in Home Assistant settings.

The FAQ specifically said you can not do this.

Typically, you’ll see this when you create entities manually using YAML, but it can also appear if the integration that provides this entity, cannot determine a unique ID. This however is not an error, but just a limitation of the integration you use.

1 Like

Hello to all helpers
Many thanks for your all your comments and answers.
I think, that your are you’re right with the statement, that I don’t need more parameters for the entity ‘ccu3’. This is only the connector to all hardware and the lan.
(I’m new with HA, but I beleave in the concept and will work more to understand the details.)

You still have an entity_id for your entities, you just can’t set them manually.

Look in Developer Tools → States or Configuration → Entites for all your entities.