Skip to content

Commit

Permalink
fix sw version
Browse files Browse the repository at this point in the history
  • Loading branch information
mikey0000 committed Aug 13, 2024
1 parent bb36eba commit 4b1ef32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/mammotion/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __init__(self, coordinator: MammotionDataUpdateCoordinator, key: str) -> Non
manufacturer="Mammotion",
serial_number=coordinator.device_name.split("-", 1)[-1],
name=coordinator.device_name,
sw_version=coordinator.device.luba_msg.net.toapp_devinfo_resp.resp_ids.get(0, {}).get('info', "Loading..."),
sw_version=coordinator.device.luba_msg.net.toapp_devinfo_resp.resp_ids[0].info,
model=DeviceType.value_of_str(
coordinator.device_name,
coordinator.device.luba_msg.net.toapp_wifi_iot_status.productkey,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "Mammotion-HA"
version = "0.0.17"
version = "0.0.18"
description = "Mammotion lawn mower integration for HACS"
authors = ["Michael Arthur <michael@jumblesoft.co.nz>", "jLynx <@jlynx>"]
readme = "README.md"
Expand Down

0 comments on commit 4b1ef32

Please sign in to comment.