zigbee2mqtt-frontend
zigbee2mqtt-frontend copied to clipboard
[Bug]: Endpoint picker lists named endpoints in addition to numeric ones
What happened?
When a device has multiple named endpoints, it looks like the endpoint picker (e.g. when adding to a group) first lists the numbered endpoints and then in addition the names, multiple times (probably once for each expose).
For example, a Hue Twilight has four endpoints (1, 11, 12, 242). Three of these are named in the device definition:
deviceEndpoints({endpoints: {switch: 1, back: 11, front: 12}}),
The endpoint picker lists:
11112242frontfrontfrontbackbackbackbackback
The switch endpoint is named, but not used by name in the device converter, while front and back are used in philipsLight. I believe the different number comes from the fact that 11 is gradient light and so has two extra exposes (gradient and gradient_scene).
What browsers are you seeing the problem on?
Safari
Relevant stacktrace
No response
Did you download state.json.zip?
I will not attach state.json.zip
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Not stale
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.