Skip to content

Commit abb1aec

Browse files
authored
Merge branch 'main' into firstled_light_Easy-Fit_Driver
2 parents 401210d + 65a2532 commit abb1aec

5 files changed

Lines changed: 764 additions & 2 deletions

File tree

drivers/Unofficial/tuya-zigbee/fingerprints.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,9 @@ zigbeeManufacturer:
4343
deviceLabel: Tuya Switch 1
4444
manufacturer: _TZE204_h2rctifa
4545
model: TS0601
46-
deviceProfileName: basic-switch
46+
deviceProfileName: basic-switch
47+
- id: _TZE284_fziifcxj/TS0601
48+
deviceLabel: Tuya Thermostat
49+
manufacturer: _TZE284_fziifcxj
50+
model: TS0601
51+
deviceProfileName: thermostat
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: thermostat
2+
components:
3+
- id: main
4+
capabilities:
5+
- id: temperatureMeasurement
6+
version: 1
7+
- id: thermostatHeatingSetpoint
8+
version: 1
9+
config:
10+
values:
11+
- key: "heatingSetpoint.value"
12+
range: [5, 30]
13+
step: 0.5
14+
- id: thermostatMode
15+
version: 1
16+
config:
17+
values:
18+
- key: "thermostatMode.value"
19+
- id: battery
20+
version: 1
21+
- id: refresh
22+
version: 1
23+
categories:
24+
- name: Thermostat

drivers/Unofficial/tuya-zigbee/src/init.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ local unofficial_tuya_driver_template = {
2626
require("curtain"),
2727
require("motion-sensor"),
2828
require("smoke-detector"),
29-
require("switch")
29+
require("switch"),
30+
require("thermostat")
3031
},
3132
health_check = false,
3233
}

0 commit comments

Comments
 (0)