zigbeefordomoticz / Domoticz-Zigbee

Zigbee plugin for Domoticz. Allow to connect various zigbee controllers like Zigate but also Texas Instrument CC2531, CC13x2, CC26x2 ; Silicon-Labs; deConz based chipset to be connected to Domoticz
GNU General Public License v3.0
99 stars 43 forks source link

AttributeError: module 'bellows.types' has no attribute 'EzspConfigId' #1586

Closed pipiche38 closed 1 year ago

pipiche38 commented 1 year ago

Error With Sonoff on plugin stable6-6.3.012 started


call last):
  File "/home/Jerome69/domoticz/plugins/Domoticz-Zigbee/Classes/ZigpyTransport/zigpyThread.py", line 317, in worker_loop
    await dispatch_command(self, data)
  File "/home/Jerome69/domoticz/plugins/Domoticz-Zigbee/Classes/ZigpyTransport/zigpyThread.py", line 387, in dispatch_command
    await self.app.set_zigpy_tx_power(data["datas"]["Param1"])
  File "/home/Jerome69/domoticz/plugins/Domoticz-Zigbee/Classes/ZigpyTransport/AppBellows.py", line 138, in set_zigpy_tx_power
    await self._ezsp.setConfigurationValue(t.EzspConfigId.CONFIG_TX_POWER_MODE,0)
AttributeError: module 'bellows.types' has no attribute 'EzspConfigId'
pipiche38 commented 1 year ago

Looks like it has changed with a recent zigpy release and either it is not available anymore or there is an other way to do it

https://github.com/zigpy/zigpy/discussions/1202