Fix Home Assistant discovery for GL-FL-004TZS. See Koenkk/zigbee2mqtt#3480 (#3484)

This commit is contained in:
Arno Moonen
2020-05-04 11:33:58 +02:00
committed by GitHub
parent 07446ce1c1
commit ff61695355
+1
View File
@@ -984,6 +984,7 @@ const mapping = {
'HGZB-042': [switchEndpoint('top'), switchEndpoint('bottom')],
'HGZB-42': [switchEndpoint('top'), switchEndpoint('bottom')],
'GL-FL-004TZ': [cfg.light_brightness_colortemp_colorxy],
'GL-FL-004TZS': [cfg.light_brightness_colortemp_colorxy],
'IM6001-OTP05': [cfg.switch],
'SV01': [
cfg.cover_position, cfg.sensor_temperature, cfg.sensor_pressure,