Skip to content

Commit

Permalink
chore: remove dacite and update readme (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lash-L authored Jan 19, 2025
1 parent ea8e55a commit 699a2c5
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 39 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ async def main():
device_data = DeviceData(device, product_info[device.product_id].model)
mqtt_client = RoborockMqttClientV1(user_data, device_data)
networking = await mqtt_client.get_networking()
local_device_data = DeviceData(device, product_info[device.product_id].model, networking)
local_device_data = DeviceData(device, product_info[device.product_id].model, networking.ip)
local_client = RoborockLocalClientV1(local_device_data)
# You can use the send_command to send any command to the device
status = await local_client.send_command(RoborockCommand.GET_STATUS)
Expand Down
61 changes: 24 additions & 37 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ async-timeout = "*"
pycryptodome = "^3.18"
pycryptodomex = {version = "^3.18", markers = "sys_platform == 'darwin'"}
paho-mqtt = "^1.6.1"
dacite = "^1.8.0"
construct = "^2.10.57"
vacuum-map-parser-roborock = "*"

Expand Down

0 comments on commit 699a2c5

Please sign in to comment.