Skip to content

Commit

Permalink
fix: update 3r product (#8144)
Browse files Browse the repository at this point in the history
* update

* Update third_reality.ts

* Update third_reality.ts

* Update src/devices/third_reality.ts

Co-authored-by: Koen Kanters <koenkanters94@gmail.com>

* Update third_reality.ts

* u

* update

---------

Co-authored-by: jintj <jintj@3reality.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
  • Loading branch information
3 people authored Oct 16, 2024
1 parent 0588041 commit bfdf450
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/devices/third_reality.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ const definitions: DefinitionWithExtend[] = [
humidity(),
battery(),
deviceAddCustomCluster('3rSpecialCluster', {
ID: 0xff01,
ID: 0xfc00,
manufacturerCode: 0x1407,
attributes: {
celsiusDegreeCalibration: {ID: 0x0031, type: Zcl.DataType.INT16},
Expand All @@ -349,16 +349,14 @@ const definitions: DefinitionWithExtend[] = [
vendor: 'Third Reality',
description: 'Smart watering kit',
extend: [
battery(),
battery({percentage: true, voltage: true, lowStatus: true, percentageReporting: true}),
onOff(),
deviceAddCustomCluster('3rWateringSpecialCluster', {
ID: 0xfff2,
manufacturerCode: 0x1407,
attributes: {
watering_times: {ID: 0x0000, type: Zcl.DataType.UINT8},
interval_day: {ID: 0x0001, type: Zcl.DataType.UINT8},
more_watering_times: {ID: 0x0002, type: Zcl.DataType.UINT16},
water_speed_control: {ID: 0x0003, type: Zcl.DataType.UINT8},
wateringTimes: {ID: 0x0000, type: Zcl.DataType.UINT8},
intervalDay: {ID: 0x0001, type: Zcl.DataType.UINT8},
},
commands: {},
commandsResponse: {},
Expand Down

0 comments on commit bfdf450

Please sign in to comment.