Skip to content

Commit e3ae7f4

Browse files
committed
HCT611: mark missing dps from log as optional, add unknown dps
Original report #638 gave iot.tuya.com docs with dps 1, 7, 8, 10, 11, 12, 13 Later screenshots of iot.tuya.com dropped 12 (work_state) but the rest were still present. Actual logs from #771 show 1, 7, 8, 13, 14, 110. 14 and 110 are unknown, as not listed in the portal (though 14 may be a switch for the smart weather function, as per johgee device). Assume 10, 11, 12 might show up under some circumstances, and leave them as optional in the config.
1 parent 298fafe commit e3ae7f4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

custom_components/tuya_local/devices/ble_hct611_watertimer.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ primary_entity:
1111
- id: 12
1212
type: string
1313
name: state
14+
optional: true
15+
- id: 14
16+
type: boolean
17+
# Smart weather switch as per similar johgee device?
18+
name: unknown_14
19+
- id: 110
20+
type: boolean
21+
name: unknown_110
1422
secondary_entities:
1523
- entity: sensor
1624
name: Battery
@@ -34,6 +42,7 @@ secondary_entities:
3442
- id: 10
3543
type: string
3644
name: option
45+
optional: true
3746
mapping:
3847
- dps_val: cancel
3948
value: "Off"
@@ -52,6 +61,7 @@ secondary_entities:
5261
type: integer
5362
name: value
5463
unit: min
64+
optional: true
5565
range:
5666
min: 0
5767
max: 86400

0 commit comments

Comments
 (0)