Skip to content

Commit

Permalink
fix: Rename ZY-M100-S to ZY-M100-L and TS0601_smart_human_presence_se…
Browse files Browse the repository at this point in the history
…nsor_2 to ZY-M100-S (#5891)

* add support for EGLO FUEVA-Z (ceiling light IP44)

It seems to be working, however preset "warm" is missing for color_temp and color_temp_startup (where are only coolest, cool, neutral and warmest). Why? I also noticed that both "neutral" and "warmiest" pressets are equal 370. It should be fixed, but how?

* Update eglo.ts

* renamed ZY-M100-S to ZY-M100-L and TS0601_smart_human_presence_sensor_2 to ZY-M100-S

_TZE204_ztc6ggyl is ZY-M100-L (ceiling version) and _TZE204_sxm7l9xa is ZY-M100-S (mini version)

* Update tuya.ts

---------

Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
  • Loading branch information
pswid and Koenkk authored Jun 19, 2023
1 parent 87b1217 commit d575cdf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/devices/tuya.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4011,7 +4011,7 @@ const definitions: Definition[] = [
fromZigbee: [legacy.fz.tuya_smart_human_presense_sensor],
toZigbee: [legacy.tz.tuya_smart_human_presense_sensor],
whiteLabel: [
tuya.whitelabel('TuYa', 'ZY-M100-S', 'Human presence sensor', ['_TZE204_ztc6ggyl']),
tuya.whitelabel('TuYa', 'ZY-M100-L', 'Ceiling human breathe sensor', ['_TZE204_ztc6ggyl']),
],
exposes: [
e.illuminance_lux(), e.presence(),
Expand All @@ -4033,9 +4033,9 @@ const definitions: Definition[] = [
},
{
fingerprint: tuya.fingerprint('TS0601', ['_TZE204_sxm7l9xa']),
model: 'TS0601_smart_human_presence_sensor_2',
model: 'ZY-M100-S',
vendor: 'TuYa',
description: 'Smart Human presence sensor',
description: 'Mini Human Breathe Sensor',
fromZigbee: [tuya.fz.datapoints],
toZigbee: [tuya.tz.datapoints],
exposes: [
Expand Down

0 comments on commit d575cdf

Please sign in to comment.