Support DIY DNCKAT_D001 dimmer (#3441)

This commit is contained in:
Viet Dzung 2020-04-28 21:50:05 +07:00 committed by GitHub
parent 785601476e
commit 89f1c709aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -783,7 +783,6 @@ const mapping = {
],
'K2RGBW01': [cfg.light_brightness_colortemp_colorxy],
'9290011370': [cfg.light_brightness],
'DNCKATSW001': [cfg.switch],
'Z809A': [cfg.switch, cfg.sensor_power],
'NL08-0800': [cfg.light_brightness],
'98425031': [cfg.light_brightness],
@ -813,6 +812,8 @@ const mapping = {
'AC03642': [cfg.light_brightness_colortemp],
'AC08560': [cfg.light_brightness],
'AC10786-DIM': [cfg.light_brightness],
'DNCKATD001': [cfg.light_brightness],
'DNCKATSW001': [cfg.switch],
'DNCKATSW002': [switchEndpoint('left'), switchEndpoint('right')],
'DNCKATSW003': [switchEndpoint('left'), switchEndpoint('right'), switchEndpoint('center')],
'DNCKATSW004': [