Skip to content

Commit

Permalink
Bump python-roborock to 2.7.2 (home-assistant#130100)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lash-L authored and frenck committed Nov 8, 2024
1 parent 09d03e8 commit 35539db
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 5 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/roborock/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"iot_class": "local_polling",
"loggers": ["roborock"],
"requirements": [
"python-roborock==2.6.1",
"python-roborock==2.7.2",
"vacuum-map-parser-roborock==0.1.2"
]
}
2 changes: 1 addition & 1 deletion homeassistant/package_constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ get-mac==1000000000.0.0
charset-normalizer==3.2.0

# dacite: Ensure we have a version that is able to handle type unions for
# Roborock, NAM, Brother, and GIOS.
# NAM, Brother, and GIOS.
dacite>=1.7.0

# Musle wheels for pandas 2.2.0 cannot be build for any architecture.
Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2393,7 +2393,7 @@ python-rabbitair==0.0.8
python-ripple-api==0.0.3

# homeassistant.components.roborock
python-roborock==2.6.1
python-roborock==2.7.2

# homeassistant.components.smarttub
python-smarttub==0.0.36
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1914,7 +1914,7 @@ python-picnic-api==1.1.0
python-rabbitair==0.0.8

# homeassistant.components.roborock
python-roborock==2.6.1
python-roborock==2.7.2

# homeassistant.components.smarttub
python-smarttub==0.0.36
Expand Down
2 changes: 1 addition & 1 deletion script/gen_requirements_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
charset-normalizer==3.2.0
# dacite: Ensure we have a version that is able to handle type unions for
# Roborock, NAM, Brother, and GIOS.
# NAM, Brother, and GIOS.
dacite>=1.7.0
# Musle wheels for pandas 2.2.0 cannot be build for any architecture.
Expand Down
16 changes: 16 additions & 0 deletions tests/components/roborock/snapshots/test_diagnostics.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -102,55 +102,63 @@
'id': '120',
'mode': 'ro',
'name': '错误代码',
'property': '{"range": []}',
'type': 'ENUM',
}),
dict({
'code': 'state',
'id': '121',
'mode': 'ro',
'name': '设备状态',
'property': '{"range": []}',
'type': 'ENUM',
}),
dict({
'code': 'battery',
'id': '122',
'mode': 'ro',
'name': '设备电量',
'property': '{"range": []}',
'type': 'ENUM',
}),
dict({
'code': 'fan_power',
'id': '123',
'mode': 'rw',
'name': '清扫模式',
'property': '{"range": []}',
'type': 'ENUM',
}),
dict({
'code': 'water_box_mode',
'id': '124',
'mode': 'rw',
'name': '拖地模式',
'property': '{"range": []}',
'type': 'ENUM',
}),
dict({
'code': 'main_brush_life',
'id': '125',
'mode': 'rw',
'name': '主刷寿命',
'property': '{"max": 100, "min": 0, "step": 1, "unit": null, "scale": 1}',
'type': 'VALUE',
}),
dict({
'code': 'side_brush_life',
'id': '126',
'mode': 'rw',
'name': '边刷寿命',
'property': '{"max": 100, "min": 0, "step": 1, "unit": null, "scale": 1}',
'type': 'VALUE',
}),
dict({
'code': 'filter_life',
'id': '127',
'mode': 'rw',
'name': '滤网寿命',
'property': '{"max": 100, "min": 0, "step": 1, "unit": null, "scale": 1}',
'type': 'VALUE',
}),
dict({
Expand Down Expand Up @@ -381,55 +389,63 @@
'id': '120',
'mode': 'ro',
'name': '错误代码',
'property': '{"range": []}',
'type': 'ENUM',
}),
dict({
'code': 'state',
'id': '121',
'mode': 'ro',
'name': '设备状态',
'property': '{"range": []}',
'type': 'ENUM',
}),
dict({
'code': 'battery',
'id': '122',
'mode': 'ro',
'name': '设备电量',
'property': '{"range": []}',
'type': 'ENUM',
}),
dict({
'code': 'fan_power',
'id': '123',
'mode': 'rw',
'name': '清扫模式',
'property': '{"range": []}',
'type': 'ENUM',
}),
dict({
'code': 'water_box_mode',
'id': '124',
'mode': 'rw',
'name': '拖地模式',
'property': '{"range": []}',
'type': 'ENUM',
}),
dict({
'code': 'main_brush_life',
'id': '125',
'mode': 'rw',
'name': '主刷寿命',
'property': '{"max": 100, "min": 0, "step": 1, "unit": null, "scale": 1}',
'type': 'VALUE',
}),
dict({
'code': 'side_brush_life',
'id': '126',
'mode': 'rw',
'name': '边刷寿命',
'property': '{"max": 100, "min": 0, "step": 1, "unit": null, "scale": 1}',
'type': 'VALUE',
}),
dict({
'code': 'filter_life',
'id': '127',
'mode': 'rw',
'name': '滤网寿命',
'property': '{"max": 100, "min": 0, "step": 1, "unit": null, "scale": 1}',
'type': 'VALUE',
}),
dict({
Expand Down

0 comments on commit 35539db

Please sign in to comment.