Skip to content

Commit 9db4783

Browse files
Add new profiles including thermostatOperatingState (#2167)
Adding new profiles for thermostats with no battery after support for thermostatOperatingState was added. Previously, devices would use `thermostat-heating-only-nostate-nobattery` (for example) whether or not they supported ThermostatRunningState.
1 parent 634161b commit 9db4783

3 files changed

Lines changed: 75 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: thermostat-cooling-only-nobattery
2+
components:
3+
- id: main
4+
capabilities:
5+
- id: temperatureMeasurement
6+
version: 1
7+
- id: thermostatMode
8+
version: 1
9+
- id: thermostatCoolingSetpoint
10+
version: 1
11+
- id: thermostatOperatingState
12+
version: 1
13+
config:
14+
values:
15+
- key: "thermostatOperatingState.value"
16+
enabledValues:
17+
- idle
18+
- cooling
19+
- id: firmwareUpdate
20+
version: 1
21+
- id: refresh
22+
version: 1
23+
categories:
24+
- name: Thermostat
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: thermostat-heating-only-nobattery
2+
components:
3+
- id: main
4+
capabilities:
5+
- id: temperatureMeasurement
6+
version: 1
7+
- id: thermostatMode
8+
version: 1
9+
- id: thermostatHeatingSetpoint
10+
version: 1
11+
- id: thermostatOperatingState
12+
version: 1
13+
config:
14+
values:
15+
- key: "thermostatOperatingState.value"
16+
enabledValues:
17+
- idle
18+
- heating
19+
- id: firmwareUpdate
20+
version: 1
21+
- id: refresh
22+
version: 1
23+
categories:
24+
- name: Thermostat
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: thermostat-nobattery
2+
components:
3+
- id: main
4+
capabilities:
5+
- id: temperatureMeasurement
6+
version: 1
7+
- id: thermostatMode
8+
version: 1
9+
- id: thermostatHeatingSetpoint
10+
version: 1
11+
- id: thermostatCoolingSetpoint
12+
version: 1
13+
- id: thermostatOperatingState
14+
version: 1
15+
config:
16+
values:
17+
- key: "thermostatOperatingState.value"
18+
enabledValues:
19+
- idle
20+
- cooling
21+
- heating
22+
- id: firmwareUpdate
23+
version: 1
24+
- id: refresh
25+
version: 1
26+
categories:
27+
- name: Thermostat

0 commit comments

Comments
 (0)