Suggestion to update label property type #2690
Unanswered
marcus-j-davies
asked this question in
Ideas
Replies: 1 comment 6 replies
-
I think this is basically #1675 (Move manufacturer labels into devices array), but for device labels. I guess it could make sense to be able to specify the device and/or manufacturer in the devices array instead of the root level. That way we could assign device labels to individual IDs without splitting the files. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Very often I see config files that are in support of various devices, with nothing more than a difference in there label.
Eaton being just 1 (have just raised a PR for one)
I assume, the labels may change between regions.
Currently, it seems this is managed by simply adding the various labels as one string: "Label 1 / Label 2".
Would it be more "structured" to allow this to come in the form of an array also?
"label": "1 Label"
"label": ["Label 1", "Label 2"]
This already happens with the
zwaveAllianceId
keyThe driver (when seeing this as an array) will just concatenate using / as the separator - as to not break front ends, or the indexing format.
I think this makes it align with the
zwaveAllianceId
property?@blhoward2 - not sure if you have a view on this?
Beta Was this translation helpful? Give feedback.
All reactions