Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Firmware version to Device info #5

Closed
wants to merge 12 commits into from

Conversation

jLynx
Copy link
Collaborator

@jLynx jLynx commented Jun 2, 2024

Added firmware version to device info. This is in draft as its not always populated and spits out errors when its missing
image

@@ -26,6 +26,7 @@ def __init__(
identifiers={(DOMAIN, device_name)},
manufacturer="Mammotion",
serial_number=coordinator.device.luba_msg.net.toapp_wifi_iot_status.productkey,
sw_version=coordinator.device.luba_msg.net.toapp_devinfo_resp.resp_ids[0].info,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rsp_id in resp_ids

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jLynx reminder to find a better way to get the value out than directly accessing the array.

@jLynx jLynx mentioned this pull request Jun 27, 2024
@jLynx
Copy link
Collaborator Author

jLynx commented Jun 27, 2024

Closing as this is now included in #16

@jLynx jLynx closed this Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants