zigbee-herdsman-converters 21.29.0 → 21.30.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
@@ -4408,6 +4408,82 @@ const definitions = [
4408
4408
  ],
4409
4409
  },
4410
4410
  },
4411
+ {
4412
+ fingerprint: tuya.fingerprint('TS0601', ['_TZE204_tbgecldg', '_TZE284_tbgecldg', '_TZE200_tbgecldg']),
4413
+ model: 'PO-THCO-EAU',
4414
+ vendor: 'Powernity',
4415
+ description: 'Thermostat radiator valve',
4416
+ fromZigbee: [tuya.fz.datapoints],
4417
+ toZigbee: [tuya.tz.datapoints],
4418
+ onEvent: tuya.onEventSetTime,
4419
+ configure: tuya.configureMagicPacket,
4420
+ exposes: [
4421
+ e.battery().withUnit('%'),
4422
+ e.child_lock(),
4423
+ e.comfort_temperature().withValueMin(0.5).withValueMax(29.5),
4424
+ e.eco_temperature().withValueMin(0.5).withValueMax(29.5),
4425
+ e.holiday_temperature().withValueMin(0.5).withValueMax(29.5),
4426
+ e
4427
+ .numeric('auto_temperature', ea.STATE_SET)
4428
+ .withDescription('Auto settings temperature')
4429
+ .withUnit('°C')
4430
+ .withValueMin(0.5)
4431
+ .withValueStep(0.5)
4432
+ .withValueMax(29.5),
4433
+ e
4434
+ .climate()
4435
+ .withPreset(['auto', 'manual', 'holiday'])
4436
+ .withLocalTemperatureCalibration(-5.5, 5.5, 0.1, ea.STATE_SET)
4437
+ .withLocalTemperature(ea.STATE)
4438
+ .withSetpoint('current_heating_setpoint', 0.5, 29.5, 0.5, ea.STATE_SET),
4439
+ e.binary('boost_heating', ea.STATE_SET, 'ON', 'OFF').withDescription('Boost Heating: the device will enter the boost heating mode.'),
4440
+ e
4441
+ .numeric('boost_time', ea.STATE_SET)
4442
+ .withUnit('s')
4443
+ .withDescription('Setting ' +
4444
+ 'minimum 0 - maximum 900 seconds boost time. The boost function is activated. The remaining ' +
4445
+ 'time for the function will be counted down in seconds ( 900 to 0 ).')
4446
+ .withValueMin(0)
4447
+ .withValueMax(900),
4448
+ e.binary('window_open', ea.STATE, 'OPEN', 'CLOSE').withDescription('Window status CLOSE or OPEN '),
4449
+ e.open_window_temperature().withValueMin(5).withValueMax(25),
4450
+ e
4451
+ .numeric('open_window_time', ea.STATE_SET)
4452
+ .withDescription('In the setting time, when the range of indoor temperature changes reaches the set range, the window opening reminder will be displayed')
4453
+ .withUnit('minutes')
4454
+ .withValueMin(0)
4455
+ .withValueMax(60)
4456
+ .withValueStep(1),
4457
+ tuya.exposes.errorStatus(),
4458
+ ],
4459
+ meta: {
4460
+ tuyaDatapoints: [
4461
+ [
4462
+ 2,
4463
+ 'preset',
4464
+ tuya.valueConverterBasic.lookup({
4465
+ auto: tuya.enum(0),
4466
+ manual: tuya.enum(1),
4467
+ holiday: tuya.enum(2),
4468
+ }),
4469
+ ],
4470
+ [16, 'current_heating_setpoint', tuya.valueConverter.divideBy2],
4471
+ [24, 'local_temperature', tuya.valueConverter.divideBy10],
4472
+ [30, 'child_lock', tuya.valueConverter.lockUnlock],
4473
+ [34, 'battery', tuya.valueConverter.raw],
4474
+ [101, 'comfort_temperature', tuya.valueConverter.divideBy2],
4475
+ [102, 'eco_temperature', tuya.valueConverter.divideBy2],
4476
+ [103, 'holiday_temperature', tuya.valueConverter.divideBy2],
4477
+ [104, 'local_temperature_calibration', tuya.valueConverter.localTempCalibration1],
4478
+ [105, 'auto_temperature', tuya.valueConverter.divideBy2],
4479
+ [106, 'boost_heating', tuya.valueConverter.onOff],
4480
+ [107, 'window_open', tuya.valueConverter.onOff],
4481
+ [116, 'open_window_temperature', tuya.valueConverter.divideBy2],
4482
+ [117, 'open_window_time', tuya.valueConverter.raw],
4483
+ [118, 'boost_time', tuya.valueConverter.countdown],
4484
+ ],
4485
+ },
4486
+ },
4411
4487
  {
4412
4488
  fingerprint: tuya.fingerprint('TS0601', [
4413
4489
  '_TZE200_68nvbio9',