Skip to content

Commit 68abb7e

Browse files
committed
Cecotec ReadyWarm 8400: apply new config format changes
- merge primary_entity and secondary_entities to a single list - split product name ready for use in device info fields
1 parent dac769b commit 68abb7e

File tree

1 file changed

+55
-55
lines changed

1 file changed

+55
-55
lines changed

custom_components/tuya_local/devices/cecotec_readywarm_8400.yaml

+55-55
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,61 @@
11
name: Fan Heater
22
products:
33
- id: var0f7dheclxpjuz
4-
name: Cecotec ReadyWarm 8400 Bladeless
5-
primary_entity:
6-
entity: climate
7-
translation_only_key: heater
8-
dps:
9-
- id: 1
10-
type: boolean
11-
name: hvac_mode
12-
mapping:
13-
- dps_val: false
14-
value: "off"
15-
- dps_val: true
16-
constraint: preset_mode
17-
conditions:
18-
- dps_val: "off"
19-
value: fan_only
20-
- dps_val: "low"
21-
value: heat
22-
hidden: true
23-
- dps_val: "high"
24-
value: heat
25-
hidden: true
26-
- dps_val: "auto"
27-
value: heat
28-
- id: 2
29-
type: integer
30-
name: temperature
31-
unit: C
32-
range:
33-
min: 15
34-
max: 40
35-
- id: 3
36-
type: integer
37-
name: current_temperature
38-
- id: 4
39-
name: preset_mode
40-
type: string
41-
mapping:
42-
- dps_val: "off"
43-
value: none
44-
- dps_val: "low"
45-
value: eco
46-
- dps_val: "high"
47-
value: boost
48-
- dps_val: "auto"
49-
value: comfort
50-
- id: 8
51-
type: boolean
52-
name: swing_mode
53-
mapping:
54-
- dps_val: false
55-
value: "off"
56-
- dps_val: true
57-
value: "on"
58-
secondary_entities:
4+
manufacturer: Cecotec
5+
model: ReadyWarm 8400 Bladeless
6+
entities:
7+
- entity: climate
8+
translation_only_key: heater
9+
dps:
10+
- id: 1
11+
type: boolean
12+
name: hvac_mode
13+
mapping:
14+
- dps_val: false
15+
value: "off"
16+
- dps_val: true
17+
constraint: preset_mode
18+
conditions:
19+
- dps_val: "off"
20+
value: fan_only
21+
- dps_val: "low"
22+
value: heat
23+
hidden: true
24+
- dps_val: "high"
25+
value: heat
26+
hidden: true
27+
- dps_val: "auto"
28+
value: heat
29+
- id: 2
30+
type: integer
31+
name: temperature
32+
unit: C
33+
range:
34+
min: 15
35+
max: 40
36+
- id: 3
37+
type: integer
38+
name: current_temperature
39+
- id: 4
40+
name: preset_mode
41+
type: string
42+
mapping:
43+
- dps_val: "off"
44+
value: none
45+
- dps_val: "low"
46+
value: eco
47+
- dps_val: "high"
48+
value: boost
49+
- dps_val: "auto"
50+
value: comfort
51+
- id: 8
52+
type: boolean
53+
name: swing_mode
54+
mapping:
55+
- dps_val: false
56+
value: "off"
57+
- dps_val: true
58+
value: "on"
5959
- entity: select
6060
translation_key: timer
6161
category: config

0 commit comments

Comments
 (0)