Hey everyone,
I'm currently developing a matter device with MatterJS. As a starting point, I just wanted to have a simple button with a label. But I was not able to set the label in a way that it is displayed in HomeAssistant. I searched a bit and found different pull requests regarding labels of matter devices. e.g [0]. For me, it looks like I currently only get labels for devices listed in [1]. It appears that there is no way to have an adequate label for other matter devices/components. The userLabel and FixedLabel are just ignored, and instead, in HomeAssistant, I only see "Button (1), Button (2)" etc., which is really not helpful.
Is my observation correct, and is there no way to set a label for a matter component besides editing the label in HA manually? Or is the error on my side, and I just set the label in the wrong way?
(I'm not sure if this is the right place to ask this question.)
[0] https://github.com/home-assistant/core/pull/154173
[1] https://github.com/home-assistant/core/blob/f3ddffb5ffe40627d7809e8911a4948f418e6472/homeassistant/components/matter/entity.py#L43
Breaking change
To simplify review of the comprehensive Matter tagging and labeling PR: #152754, this sub-PR separates out code functionality relating to Fixed and Label handling so that the labe...