Skip to content

Commit 71979da

Browse files
authored
Merge pull request #345 from plugwise/correct_adam_jip
Correct Adam_jip userdate: fix use of non-unique device names
2 parents ff3e88f + e3a8ce9 commit 71979da

File tree

5 files changed

+17
-16
lines changed

5 files changed

+17
-16
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Ongoing
44

55
- Repair coverage/fix testing - #294
6+
- Correct non-unique device names in adam_jip userdata
67

78
## V0.31.6: Fix domestic_hot_water_setpoint-related bug for Anna + Elga
89

fixtures/adam_jip/all_data.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"hardware": "1",
3737
"location": "d58fec52899f4f1c92e4f8fad6d8c48c",
3838
"model": "Tom/Floor",
39-
"name": "Logeerkamer",
39+
"name": "Tom Logeerkamer",
4040
"sensors": {
4141
"setpoint": 13.0,
4242
"temperature": 28.8,
@@ -53,7 +53,7 @@
5353
"hardware": "1",
5454
"location": "06aecb3d00354375924f50c47af36bd2",
5555
"model": "Tom/Floor",
56-
"name": "Slaapkamer",
56+
"name": "Tom Slaapkamer",
5757
"sensors": {
5858
"setpoint": 13.0,
5959
"temperature": 24.3,
@@ -115,7 +115,7 @@
115115
"hardware": "1",
116116
"location": "13228dab8ce04617af318a2888b3c548",
117117
"model": "Tom/Floor",
118-
"name": "Woonkamer",
118+
"name": "Tom Woonkamer",
119119
"sensors": {
120120
"setpoint": 9.0,
121121
"temperature": 24.0,
@@ -180,7 +180,7 @@
180180
"hardware": "1",
181181
"location": "d27aede973b54be484f6842d1b2802ad",
182182
"model": "Tom/Floor",
183-
"name": "Kinderkamer",
183+
"name": "Tom Kinderkamer",
184184
"sensors": {
185185
"setpoint": 13.0,
186186
"temperature": 28.7,

tests/test_smile.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3354,7 +3354,7 @@ async def test_adam_plus_jip(self):
33543354
"hardware": "1",
33553355
"location": "13228dab8ce04617af318a2888b3c548",
33563356
"model": "Tom/Floor",
3357-
"name": "Woonkamer",
3357+
"name": "Tom Woonkamer",
33583358
"zigbee_mac_address": "ABCD012345670A09",
33593359
"vendor": "Plugwise",
33603360
"available": True,
@@ -3426,7 +3426,7 @@ async def test_adam_plus_jip(self):
34263426
"hardware": "1",
34273427
"location": "d27aede973b54be484f6842d1b2802ad",
34283428
"model": "Tom/Floor",
3429-
"name": "Kinderkamer",
3429+
"name": "Tom Kinderkamer",
34303430
"zigbee_mac_address": "ABCD012345670A04",
34313431
"vendor": "Plugwise",
34323432
"available": True,
@@ -3443,7 +3443,7 @@ async def test_adam_plus_jip(self):
34433443
"hardware": "1",
34443444
"location": "06aecb3d00354375924f50c47af36bd2",
34453445
"model": "Tom/Floor",
3446-
"name": "Slaapkamer",
3446+
"name": "Tom Slaapkamer",
34473447
"zigbee_mac_address": "ABCD012345670A05",
34483448
"vendor": "Plugwise",
34493449
"available": True,
@@ -3475,7 +3475,7 @@ async def test_adam_plus_jip(self):
34753475
"hardware": "1",
34763476
"location": "d58fec52899f4f1c92e4f8fad6d8c48c",
34773477
"model": "Tom/Floor",
3478-
"name": "Logeerkamer",
3478+
"name": "Tom Logeerkamer",
34793479
"zigbee_mac_address": "ABCD012345670A07",
34803480
"vendor": "Plugwise",
34813481
"available": True,

userdata/adam_jip/core.appliances.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@
596596
</actuator_functionalities>
597597
</appliance>
598598
<appliance id='833de10f269c4deab58fb9df69901b4e'>
599-
<name>Woonkamer</name>
599+
<name>Tom Woonkamer</name>
600600
<description>A thermostatic radiator valve allows hot water to be pumped into its radiator based on ambient temperature and the local temperature setpoint.</description>
601601
<type>thermostatic_radiator_valve</type>
602602
<created_date>2021-03-28T18:03:01.125+02:00</created_date>
@@ -885,7 +885,7 @@
885885
</actuator_functionalities>
886886
</appliance>
887887
<appliance id='d4496250d0e942cfa7aea3476e9070d5'>
888-
<name>Kinderkamer</name>
888+
<name>Tom Kinderkamer</name>
889889
<description>A thermostatic radiator valve allows hot water to be pumped into its radiator based on ambient temperature and the local temperature setpoint.</description>
890890
<type>thermostatic_radiator_valve</type>
891891
<created_date>2021-01-16T18:54:43.437+01:00</created_date>
@@ -981,7 +981,7 @@
981981
</actuator_functionalities>
982982
</appliance>
983983
<appliance id='356b65335e274d769c338223e7af9c33'>
984-
<name>Slaapkamer</name>
984+
<name>Tom Slaapkamer</name>
985985
<description>A thermostatic radiator valve allows hot water to be pumped into its radiator based on ambient temperature and the local temperature setpoint.</description>
986986
<type>thermostatic_radiator_valve</type>
987987
<created_date>2021-01-16T14:06:34.242+01:00</created_date>
@@ -1202,7 +1202,7 @@
12021202
</actuator_functionalities>
12031203
</appliance>
12041204
<appliance id='1da4d325838e4ad8aac12177214505c9'>
1205-
<name>Logeerkamer</name>
1205+
<name>Tom Logeerkamer</name>
12061206
<description>A thermostatic radiator valve allows hot water to be pumped into its radiator based on ambient temperature and the local temperature setpoint.</description>
12071207
<type>thermostatic_radiator_valve</type>
12081208
<created_date>2021-01-16T15:56:14.990+01:00</created_date>

userdata/adam_jip/core.domain_objects.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@
920920
</actuator_functionalities>
921921
</location>
922922
<appliance id='d4496250d0e942cfa7aea3476e9070d5'>
923-
<name>Kinderkamer</name>
923+
<name>Tom Kinderkamer</name>
924924
<description>A thermostatic radiator valve allows hot water to be pumped into its radiator based on ambient temperature and the local temperature setpoint.</description>
925925
<type>thermostatic_radiator_valve</type>
926926
<created_date>2021-01-16T18:54:43.437+01:00</created_date>
@@ -1090,7 +1090,7 @@
10901090
</actuator_functionalities>
10911091
</appliance>
10921092
<appliance id='833de10f269c4deab58fb9df69901b4e'>
1093-
<name>Woonkamer</name>
1093+
<name>Tom Woonkamer</name>
10941094
<description>A thermostatic radiator valve allows hot water to be pumped into its radiator based on ambient temperature and the local temperature setpoint.</description>
10951095
<type>thermostatic_radiator_valve</type>
10961096
<created_date>2021-03-28T18:03:01.125+02:00</created_date>
@@ -1204,7 +1204,7 @@
12041204
</contexts>
12051205
</rule>
12061206
<appliance id='356b65335e274d769c338223e7af9c33'>
1207-
<name>Slaapkamer</name>
1207+
<name>Tom Slaapkamer</name>
12081208
<description>A thermostatic radiator valve allows hot water to be pumped into its radiator based on ambient temperature and the local temperature setpoint.</description>
12091209
<type>thermostatic_radiator_valve</type>
12101210
<created_date>2021-01-16T14:06:34.242+01:00</created_date>
@@ -2489,7 +2489,7 @@
24892489
</features>
24902490
</gateway>
24912491
<appliance id='1da4d325838e4ad8aac12177214505c9'>
2492-
<name>Logeerkamer</name>
2492+
<name>Tom Logeerkamer</name>
24932493
<description>A thermostatic radiator valve allows hot water to be pumped into its radiator based on ambient temperature and the local temperature setpoint.</description>
24942494
<type>thermostatic_radiator_valve</type>
24952495
<created_date>2021-01-16T15:56:14.990+01:00</created_date>

0 commit comments

Comments
 (0)