-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Recognition improvement for Lonsonho X702A #8156
base: master
Are you sure you want to change the base?
Conversation
adding led indicator option
Recognition improvement for Lonsonho X702A
@@ -3653,6 +3653,20 @@ const definitions: DefinitionWithExtend[] = [ | |||
await reporting.bind(device.getEndpoint(1), coordinatorEndpoint, ['genOnOff']); | |||
}, | |||
}, | |||
{ | |||
zigbeeModel: ['TS0001'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
zigbeeModel: ['TS0001'], | |
fingerprint: tuya.fingerprint('TS0001', ['_TZ3000_t3s9qmmg']), |
description: '1 gang switch with backlight', | ||
extend: [tuya.modernExtend.tuyaOnOff({indicatorMode: true})], | ||
whiteLabel: [ | ||
tuya.whitelabel('Lonsonho', 'X701A', '1 gang switch with backlight', ['_TZ3000_t3s9qmmg']), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be removed
{ | ||
zigbeeModel: ['TS0001'], | ||
model: 'X701A', | ||
vendor: 'Lonsonho', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please modify lonsonho.ts
instead of tuya.ts
Hello
I added custom converter to add the option of LED indicator. Everything works fine the same as the X702A version (similar to #6117 )
It is looks the same as https://www.zigbee2mqtt.io/devices/X711A.html