Skip to content

Commit 1763664

Browse files
committed
Merge branch 'device-docs' of github.com:allenporter/python-roborock into device-docs
2 parents a8b2dfc + b166e13 commit 1763664

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ async def main():
4848

4949
# Get all vacuum devices that support the v1 PropertiesApi
5050
for device in devices:
51-
if not device.v1_properties:
52-
continue
51+
if not device.v1_properties:
52+
continue
5353

54-
# Refresh the current device status
55-
status_trait = device.v1_properties.status
56-
await status_trait.refresh()
57-
print(status_trait)
54+
# Refresh the current device status
55+
status_trait = device.v1_properties.status
56+
await status_trait.refresh()
57+
print(status_trait)
5858

5959
asyncio.run(main())
6060
```

roborock/devices/traits/b01/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from roborock.devices.traits import Trait
77
from roborock.roborock_message import RoborockB01Props
88

9-
__init__ = [
9+
__all__ = [
1010
"PropertiesApi",
1111
]
1212

roborock/devices/traits/v1/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"child_lock",
7272
"clean_summary",
7373
"common",
74-
"consumable",
74+
"consumeable",
7575
"device_features",
7676
"do_not_disturb",
7777
"dust_collection_mode",

0 commit comments

Comments
 (0)