Skip to content

Commit fa1e62b

Browse files
authored
feat(mower): add typed status models and protocol enums (#1002)
* feat(mower): add typed status models and protocol enums Add protobuf-named status enums with integer wire codes, explicit unknown fallbacks, and a typed GPS coordinate model. Keep compact and detailed task state domains separate, using the captured detailed domain for scalar DPS 123. Retain RoborockMowerStateCode with all existing names and values and preserve MowerStatus.from_dps. Cover typed parsing, serialization, unknown values, and the retained entry points in the mirrored mower data tests. * fix(mower): return cls.UNKNOWN directly in MowerEnum.from_code * fix(mower): lowercase enum values, trim docstrings, and remove legacy state enum
1 parent afee561 commit fa1e62b

5 files changed

Lines changed: 713 additions & 218 deletions

File tree

0 commit comments

Comments
 (0)