zigpy / zigpy-znp

TI CC2531, CC13x2, CC26x2 radio support for Zigpy and ZHA
GNU General Public License v3.0
144 stars 40 forks source link

Allow configuring endpoint 1 selection behavior #181

Closed puddly closed 1 year ago

puddly commented 1 year ago

Supersedes #175

@prairiesnpr I gave this some thought and I think tying the current endpoint selection logic to whether or not extra endpoints exist will modify the default behavior in cases where this will be necessary (i.e. testing a new, weird device). Instead, a new config option is used:

zha:
  zigpy_config:
    znp_config:
      prefer_endpoint_1: false