zigbee-herdsman-converters 20.4.0 → 20.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/devices/tuya.js CHANGED
@@ -1216,6 +1216,7 @@ const definitions = [
1216
1216
  { modelID: 'TS0601', manufacturerName: '_TZE200_ryfmq5rl' },
1217
1217
  { modelID: 'TS0601', manufacturerName: '_TZE200_c2fmom5z' },
1218
1218
  { modelID: 'TS0601', manufacturerName: '_TZE200_mja3fuja' },
1219
+ { modelID: 'TS0601', manufacturerName: '_TZE204_yvx5lh6k' },
1219
1220
  ],
1220
1221
  model: 'TS0601_air_quality_sensor',
1221
1222
  vendor: 'Tuya',
@@ -7022,7 +7023,10 @@ const definitions = [
7022
7023
  description: 'Smart Human presence sensor',
7023
7024
  fromZigbee: [legacy.fz.tuya_smart_human_presense_sensor],
7024
7025
  toZigbee: [legacy.tz.tuya_smart_human_presense_sensor],
7025
- whiteLabel: [tuya.whitelabel('Tuya', 'ZY-M100-L', 'Ceiling human breathe sensor', ['_TZE204_ztc6ggyl'])],
7026
+ whiteLabel: [
7027
+ tuya.whitelabel('Tuya', 'ZY-M100-L', 'Ceiling human breathe sensor', ['_TZE204_ztc6ggyl']),
7028
+ tuya.whitelabel('Moes', 'ZSS-QY-HP', 'Human presence sensor', ['_TZE204_fwondbzy']),
7029
+ ],
7026
7030
  exposes: [
7027
7031
  e.illuminance_lux(),
7028
7032
  e.presence(),
@@ -10591,6 +10595,146 @@ const definitions = [
10591
10595
  },
10592
10596
  whiteLabel: [{ vendor: 'ELECTSMART', model: 'EST-120Z' }],
10593
10597
  },
10598
+ {
10599
+ fingerprint: [{ modelID: 'TS0601', manufacturerName: '_TZE204_tagezcph' }],
10600
+ model: 'PRO-900Z',
10601
+ vendor: 'ElectSmart',
10602
+ description: 'Thermostat for electric floor',
10603
+ fromZigbee: [tuya.fz.datapoints],
10604
+ toZigbee: [tuya.tz.datapoints],
10605
+ onEvent: tuya.onEventSetTime,
10606
+ configure: tuya.configureMagicPacket,
10607
+ exposes: [
10608
+ e.binary('child_lock', ea.STATE_SET, 'ON', 'OFF').withLabel('Child lock'),
10609
+ e.binary('eco_mode', ea.STATE_SET, 'OFF', 'ON').withLabel('ECO mode').withDescription('Default: Off'),
10610
+ e
10611
+ .numeric('eco_temperature', ea.STATE_SET)
10612
+ .withValueMin(5)
10613
+ .withValueMax(30)
10614
+ .withValueStep(1)
10615
+ .withUnit('°C')
10616
+ .withDescription('Max temperature in ECO mode. Default: 20'),
10617
+ e.binary('valve_state', ea.STATE, false, true).withLabel('Heating in process'),
10618
+ e
10619
+ .climate()
10620
+ .withSystemMode(['off', 'heat'], ea.STATE_SET)
10621
+ .withPreset(['manual', 'auto'])
10622
+ .withSetpoint('current_heating_setpoint', 5, 35, 0.5, ea.STATE_SET)
10623
+ .withLocalTemperature(ea.STATE)
10624
+ .withLocalTemperatureCalibration(-9, 9, 1, ea.STATE_SET)
10625
+ .withDescription('Default: -3'),
10626
+ e
10627
+ .numeric('deadzone_temperature', ea.STATE_SET)
10628
+ .withValueMin(1)
10629
+ .withValueMax(5)
10630
+ .withValueStep(1)
10631
+ .withUnit('°C')
10632
+ .withDescription('Hysteresis. Default: 1'),
10633
+ e.numeric('min_temperature', ea.STATE_SET).withValueMin(5).withValueMax(15).withValueStep(1).withUnit('°C').withDescription('Default: 5'),
10634
+ e
10635
+ .numeric('max_temperature', ea.STATE_SET)
10636
+ .withValueMin(15)
10637
+ .withValueMax(45)
10638
+ .withValueStep(1)
10639
+ .withUnit('°C')
10640
+ .withDescription('Default: 35'),
10641
+ e
10642
+ .numeric('min_temperature_limit', ea.STATE_SET)
10643
+ .withValueMin(0)
10644
+ .withValueMax(10)
10645
+ .withValueStep(1)
10646
+ .withUnit('°C')
10647
+ .withLabel('Low temperature protection')
10648
+ .withDescription('Default: 0'),
10649
+ e
10650
+ .numeric('max_temperature_limit', ea.STATE_SET)
10651
+ .withValueMin(25)
10652
+ .withValueMax(70)
10653
+ .withValueStep(1)
10654
+ .withUnit('°C')
10655
+ .withLabel('High temperature protection')
10656
+ .withDescription('Default: 45'),
10657
+ e.temperature_sensor_select(['IN', 'OU', 'AL']).withLabel('Sensor').withDescription('Choose which sensor to use. Default: AL'),
10658
+ e
10659
+ .numeric('external_temperature_input', ea.STATE)
10660
+ .withLabel('Floor temperature')
10661
+ .withUnit('°C')
10662
+ .withDescription('Temperature from floor sensor'),
10663
+ e
10664
+ .numeric('brightness', ea.STATE_SET)
10665
+ .withValueMin(0)
10666
+ .withValueMax(8)
10667
+ .withValueStep(1)
10668
+ .withLabel('Screen brightness 06:00 - 22:00')
10669
+ .withDescription('0 - on for 10 seconds. Default: 6'),
10670
+ e
10671
+ .numeric('display_brightness', ea.STATE_SET)
10672
+ .withValueMin(0)
10673
+ .withValueMax(8)
10674
+ .withValueStep(1)
10675
+ .withLabel('Screen brightness 22:00 - 06:00')
10676
+ .withDescription('0 - on for 10 seconds. Default: 3'),
10677
+ e
10678
+ .text('schedule_monday', ea.STATE_SET)
10679
+ .withLabel('Schedule for monday')
10680
+ .withDescription('Default: 06:00/20.0 11:30/20.0 13:30/20.0 17:30/20.0'),
10681
+ e
10682
+ .text('schedule_tuesday', ea.STATE_SET)
10683
+ .withLabel('Schedule for tuesday')
10684
+ .withDescription('Default: 06:00/20.0 11:30/20.0 13:30/20.0 17:30/20.0'),
10685
+ e
10686
+ .text('schedule_wednesday', ea.STATE_SET)
10687
+ .withLabel('Schedule for wednesday')
10688
+ .withDescription('Default: 06:00/20.0 11:30/20.0 13:30/20.0 17:30/20.0'),
10689
+ e
10690
+ .text('schedule_thursday', ea.STATE_SET)
10691
+ .withLabel('Schedule for thursday')
10692
+ .withDescription('Default: 06:00/20.0 11:30/20.0 13:30/20.0 17:30/20.0'),
10693
+ e
10694
+ .text('schedule_friday', ea.STATE_SET)
10695
+ .withLabel('Schedule for friday')
10696
+ .withDescription('Default: 06:00/20.0 11:30/20.0 13:30/20.0 17:30/20.0'),
10697
+ e
10698
+ .text('schedule_saturday', ea.STATE_SET)
10699
+ .withLabel('Schedule for saturday')
10700
+ .withDescription('Default: 06:00/20.0 11:30/20.0 13:30/20.0 17:30/20.0'),
10701
+ e
10702
+ .text('schedule_sunday', ea.STATE_SET)
10703
+ .withLabel('Schedule for sunday')
10704
+ .withDescription('Default: 06:00/20.0 11:30/20.0 13:30/20.0 17:30/20.0'),
10705
+ e.enum('factory_reset', ea.STATE_SET, ['factory reset']).withLabel('Factory reset').withDescription('Reset all settings to factory ones'),
10706
+ ],
10707
+ meta: {
10708
+ tuyaDatapoints: [
10709
+ [1, 'system_mode', tuya.valueConverterBasic.lookup({ off: false, heat: true })],
10710
+ [2, 'preset', tuya.valueConverterBasic.lookup({ auto: tuya.enum(0), manual: tuya.enum(1) })],
10711
+ [16, 'current_heating_setpoint', tuya.valueConverter.divideBy10],
10712
+ [19, 'max_temperature', tuya.valueConverter.divideBy10],
10713
+ [24, 'local_temperature', tuya.valueConverter.divideBy10],
10714
+ [26, 'min_temperature', tuya.valueConverter.divideBy10],
10715
+ [27, 'local_temperature_calibration', tuya.valueConverter.raw],
10716
+ [28, 'factory_reset', tuya.valueConverterBasic.lookup({ factory_reset: true })],
10717
+ [36, 'valve_state', tuya.valueConverter.trueFalseInvert],
10718
+ [39, 'child_lock', tuya.valueConverterBasic.lookup({ ON: true, OFF: false })],
10719
+ [40, 'eco_mode', tuya.valueConverterBasic.lookup({ ON: true, OFF: false })],
10720
+ [43, 'sensor', tuya.valueConverterBasic.lookup({ IN: tuya.enum(0), OU: tuya.enum(2), AL: tuya.enum(1) })],
10721
+ [102, 'external_temperature_input', tuya.valueConverter.divideBy10],
10722
+ [103, 'deadzone_temperature', tuya.valueConverter.raw],
10723
+ [104, 'max_temperature_limit', tuya.valueConverter.divideBy10],
10724
+ [101, 'schedule_monday', tuya.valueConverter.thermostatScheduleDayMultiDPWithDayNumber(1)],
10725
+ [105, 'schedule_tuesday', tuya.valueConverter.thermostatScheduleDayMultiDPWithDayNumber(2)],
10726
+ [106, 'schedule_wednesday', tuya.valueConverter.thermostatScheduleDayMultiDPWithDayNumber(3)],
10727
+ [107, 'schedule_thursday', tuya.valueConverter.thermostatScheduleDayMultiDPWithDayNumber(4)],
10728
+ [108, 'schedule_friday', tuya.valueConverter.thermostatScheduleDayMultiDPWithDayNumber(5)],
10729
+ [109, 'schedule_saturday', tuya.valueConverter.thermostatScheduleDayMultiDPWithDayNumber(6)],
10730
+ [110, 'schedule_sunday', tuya.valueConverter.thermostatScheduleDayMultiDPWithDayNumber(7)],
10731
+ [111, 'min_temperature_limit', tuya.valueConverter.divideBy10],
10732
+ [112, 'eco_temperature', tuya.valueConverter.divideBy10],
10733
+ [113, 'brightness', tuya.valueConverter.raw],
10734
+ [114, 'display_brightness', tuya.valueConverter.raw],
10735
+ ],
10736
+ },
10737
+ },
10594
10738
  {
10595
10739
  fingerprint: tuya.fingerprint('TS0601', ['_TZE204_dsagrkvg']),
10596
10740
  model: 'ZPV-01',