Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception while calling fromZigbee converter: Cannot use 'in' operator to search for 'power' in undefined} #17666

Closed
cloudbr34k84 opened this issue May 13, 2023 · 1 comment
Labels
problem Something isn't working

Comments

@cloudbr34k84
Copy link

What happened?

Exception while calling fromZigbee converter: Cannot use 'in' operator to search for 'power' in undefined}
debug 13-05-2023 13:55:26: TypeError: Cannot use 'in' operator to search for 'power' in undefined
at Object.convert (/app/node_modules/zigbee-herdsman-converters/devices/tuya.js:906:29)
at Receive.onDeviceMessage (/app/lib/extension/receive.ts:150:51)
at EventEmitter.emit (node:events:525:35)
at EventBus.emitDeviceMessage (/app/lib/eventBus.ts:102:22)
at Controller. (/app/lib/zigbee.ts:106:27)
at Controller.emit (node:events:513:28)
at Controller.selfAndDeviceEmit (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:515:14)
at Controller.onZclOrRawData (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:726:18)
at ZStackAdapter. (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:144:70)
at ZStackAdapter.emit (node:events:513:28)

What did you expect to happen?

i have added an converter to my config file

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.30.4-dev commit: 3085608

Adapter firmware version

20221226

Adapter

Zigbee ESP32GW (Zigstar)

Debug log

log.txt

@cloudbr34k84 cloudbr34k84 added the problem Something isn't working label May 13, 2023
Koenkk added a commit to Koenkk/zigbee-herdsman-converters that referenced this issue May 13, 2023
@Koenkk
Copy link
Owner

Koenkk commented May 13, 2023

Fixed!

Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)

@Koenkk Koenkk closed this as completed May 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants