(The device in the screenshot is the same, but with different names)
They can be both different. And all the time when I add a new device, I need to rename them in both places to keep the system consistent. I would be happy, if these can be unified.
This is because an integration can have different config entries, and a config entry can have different devices
You should be seeing a prompt to rename the config entry upon renaming the device (if I remember correctly)
I can see how it can be confusing.
But not all config entries map to only one device. If there is more devices per config entry, then there obviously need to be separate names.
And to make it even more complex, the same device can have entities coming from multiple different config entries from completely different integrations.
So simplifying it all for this one use case where the config entry and device happen to always be singular, while preserving the compatibility with more complex cases, is not trivial and IMO just not worth it right now.
The list is not always called “devices”. In some integrations it’s integration entries or services or hubs. Seems like the title is managed by integration? I agree this part of UI is mightily confusing, I regularly find myself opening the wrong list (this one instead of actual entities list or the other way around).
I don’t understand what you mean. The fastest way is the proper devices list (accessible directly from the integrations list too). Not this list we were talking about, because for some integrations it does not lists devices. For example Tuya integration has in that list just one hub and only in that hub you have all the devices.
Ok, that works for some integrations. But there’s a link to the devices list on the integration card too:
Clicking it (4 URZÄ„DZENIA on my screen) opens the list of devices, and that works for all integrations.
Clicking the upper part, with the integration name, opens the integration page, which has the devices list, but only for some integrations, because it’s not really devices list, it’s config entries list.
I think this shows the issue here - the config entries of integrations are called “devices” even though they are not devices, which is very confusing. And naturally, since they are not really devices, they have to have their own name (for example for Tuya integration the list has a hub, which has the name is email address of the Tuya account).
No, that is a completely different issue. Renaming a script I would describe as fundamentally buggy in its current state. Renaming a device on the other hand works perfectly fine (you just have to do it in the right place).