deconz-rest-plugin
deconz-rest-plugin copied to clipboard
Add DDF - Switch module L support
Add support:
- https://zigbee.blakadder.com/Tuya_SML-01Z-L.html
- https://zigbee.blakadder.com/Tuya_SML-02Z-L.html
The manufacturer names need to be the real ones from Basic cluster like _TZ3000_txpirhfq. With recentl commits the code checks for manufacturer name as well as modelid to match the DDF.
I m seing on blackadder this device have clones So if I m right can use for exemple for SML-01Z-L
"manufacturername": [
"_TZ3000_qmi1cfuq",
"_TZ3000_jl7qyupf"
],
"modelid": [
"TS0011",
"TS0011"
]
As these two devices are already coverd by DDF files (https://github.com/dresden-elektronik/deconz-rest-plugin/blob/f837452b4eec614746e3ba56f214b1096342a797/devices/tuya/_TZ3000_TS0011_1gang_switch_module.json#L4 and https://github.com/dresden-elektronik/deconz-rest-plugin/blob/f837452b4eec614746e3ba56f214b1096342a797/devices/tuya/_TZ3000_jl7qyupf_2gangs_switch_locked.json#L4) I think this PR could be closed ?