Skip to content

fix(code_mappings): map codes 112 and 113 for B01_Q10_DP - #951

Open
Gargeesharmaa wants to merge 1 commit into
Python-roborock:mainfrom
Gargeesharmaa:fix/b01-q10-dp-codes-112-113
Open

fix(code_mappings): map codes 112 and 113 for B01_Q10_DP#951
Gargeesharmaa wants to merge 1 commit into
Python-roborock:mainfrom
Gargeesharmaa:fix/b01-q10-dp-codes-112-113

Conversation

@Gargeesharmaa

@Gargeesharmaa Gargeesharmaa commented Sep 9, 2026

Copy link
Copy Markdown

Summary

Maps data points 112 (dpUnknown112) and 113 (dpUnknown113) under the B01_Q10_DP enum in roborock/data/code_mappings.py.

Related Issue

This fix addresses the Home Assistant Core issue:

  • home-assistant/core issue: [Paste link to the Home Assistant issue here]

Context

When Home Assistant Core reboots, Roborock devices using B01_Q10_DP (such as Q Revo / Q5 / Q7 models) send status codes 112 and 113 during the initial status dump. Because these codes are currently unmapped in the enum, Home Assistant logs the following warnings on every startup:

Logger: roborock.data.code_mappings
112 is not a valid code for B01_Q10_DP
113 is not a valid code for B01_Q10_DP

@allenporter allenporter left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Tests are currently failing.

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.

2 participants