feat: Add some new Zeo code mappings#823
Open
NOisi-x wants to merge 2 commits intoPython-roborock:mainfrom
Open
feat: Add some new Zeo code mappings#823NOisi-x wants to merge 2 commits intoPython-roborock:mainfrom
NOisi-x wants to merge 2 commits intoPython-roborock:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
2026-04-29 18:21:10.156 WARNING (MainThread) [roborock.data.code_mappings] Missing ZeoTemperature code: 7 - defaulting to 1
2026-04-29 18:21:10.907 WARNING (MainThread) [roborock.data.code_mappings] Missing ZeoMode code: 0 - defaulting to 1
2026-04-29 18:21:10.908 WARNING (MainThread) [roborock.data.code_mappings] Missing ZeoProgram code: 0 - defaulting to 1
2026-04-29 18:21:10.908 WARNING (MainThread) [roborock.data.code_mappings] Missing ZeoTemperature code: 0 - defaulting to 1
I discovered the aforementioned for missing Zeo codes in the HA logs and inferred the corresponding states of these two values based on the device's operating status.
ZeoSpin/ZeoMode/ZeoProgram = 0 may occur when HA restarts or the device reconnects to the Internet after a disconnection. This state exists only for a very brief duration and will be updated to the correct value upon the next few polling cycles.
ZeoTemperature = 7 represents a relatively high temperature value, applicable to devices with ultra-high temperature wash programs. For the model roborock.wm.a234, the Roborock app displays this as 90°C.