Skip to content

Prioritize charging state in MQTT status decoder - #32

Open
jowi24 wants to merge 1 commit into
sharkiqlibs:mainfrom
jowi24:fix/prioritize-mqtt-charging-status
Open

jowi24 wants to merge 1 commit into
sharkiqlibs:mainfrom
jowi24:fix/prioritize-mqtt-charging-status

Conversation

@jowi24

@jowi24 jowi24 commented Aug 21, 2026

Copy link
Copy Markdown

Fixes #31

Summary

  • Treat CHARGING_ON_DOCK as the authoritative normalized state
  • Report DOCKED instead of transient RETURNING_TO_DOCK while charging
  • Add regression coverage

Tests: .venv/bin/python -m pytest tests/test_mqtt_client.py

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

This branch has not been deployed

No deployments
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.

MQTT decoder reports returning_to_dock while vacuum is charging

1 participant