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

roborock: guard current_map_id access #1760

Merged
merged 1 commit into from Mar 8, 2023
Merged

Conversation

rytilahti
Copy link
Owner

This makes it not to crash on access on older devices where this isn't available.

@starkillerOG just fyi, all sensors that are exposed by the device need to allow access getattr() access on exposed status attributes (I just renamed property to status_attribute in #1759 to avoid confusion) to keep it simple.

This makes it not to crash on access on older devices where this isn't available.
@rytilahti rytilahti added the bug label Mar 8, 2023
@rytilahti rytilahti merged commit b17019e into master Mar 8, 2023
@rytilahti rytilahti deleted the fix/roborock_guard_mapid branch March 8, 2023 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant