Is there a reason for HA to not show brands of the devices, neither the names, not even the category of the newly added zigbee devices? At least on a fresh installation without any plugins. I cannot know if the device is a button, an infrared receiver, etc, except if I look into the device propertie
Is it because of legal reasons or is my HA installation broken?
Can you show an example of what you are talking about? As far as I can remember, most of my zigbee devices have included a brand or manufacturer when added to ZHA. But it is up to the manufacturer to put the correct information into the firmware.
“Devices” in HA are simply a logical grouping for one or more entities, usually contained in a single physical object (but not always). While the entities in a device will be classified into their respective domains, devices themselves are not categorized in HA.
Unfortunately, many of the brands that use Tuya’s firmware platform don’t bother correcting names… If the manufacturer doesn’t include the data in the firmware, there’s nothing HA can do about it. If you do a quick Google search for TS004F you’ll probably find at least a handful of significantly different physical devices that all use that ID.
FWIW, Tuya-based Zigbee devices can be really hit-or-miss since the manufacturers often deviate from the current Zigbee standards. With newer devices it’s quite common for one or more functions not to work until someone develops a custom quirk (ZHA) or data point map (Z2MQTT).
but how can tuya itself detect the device model? I tried 6 devices that appear normally in tuya with the correct photos, naming and etc, but on HA they appear as these generic things.
I don’t know for sure, but I would suspect that the rest of the device name points them to the specific device in a database they keep of manufacturers who have licensed their firmware.
As of a few ZHA versions ago, we do now have the ability to display a friendly name to the UI, but nobody actually does that. For that to work, we’d need to know the friendly model and manufacturer for each device and tie it to the underlying model and manufacturer. And we would also need to split each quirk out so that there is one per device. So, you can see why that hasn’t happened.
I’m not certain what z2m does. As far as ZHA, we don’t support images or icons. As far as updating all of the quirks to use friendly_name, see zigpy/zigpy/quirks/v2/__init__.py at 4a3c058f8c15eb991c2c3cf0b03d137bcbd90456 · zigpy/zigpy · GitHub, you would need to propose that. Mostly this would apply to Tuya devices and truthfully, I don’t think the increase in code complexity would be worth it. I’d bring it up on the zha-device-handlers repo if it’s something you want to contribute to, then it would be a matter of splitting all the combined quirks out so they could have the friendly_name added.