Skip to content

feat(robovac): select Tuya protocol version per model#277

Closed
damacus wants to merge 1 commit intomainfrom
feat/robovac-protocol-selection
Closed

feat(robovac): select Tuya protocol version per model#277
damacus wants to merge 1 commit intomainfrom
feat/robovac-protocol-selection

Conversation

@damacus
Copy link
Owner

@damacus damacus commented Dec 16, 2025

Select Tuya protocol version per model (default to 3.3) + add protocol version tests. Also removes deprecated VacuumEntityFeature.BATTERY from T2194 to satisfy enforced HA deprecation tests.

Signed-off-by: Dan Webb <dan.webb@damacus.io>
Copilot AI review requested due to automatic review settings December 16, 2025 15:27
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR implements model-specific Tuya protocol version selection with a default of 3.3, adds comprehensive test coverage for protocol version handling, and removes the deprecated VacuumEntityFeature.BATTERY from model T2194 to comply with Home Assistant's enforced deprecation requirements.

Key Changes

  • Added protocol version selection logic with per-model configuration support
  • Implemented default protocol version 3.3 for models without explicit configuration
  • Added comprehensive test suite for protocol version handling (tuple and float formats)
  • Removed deprecated battery feature from T2194 model
  • Generated updated documentation site files from MkDocs build

Reviewed changes

Copilot reviewed 42 out of 60 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/test_vacuum/test_protocol_version.py New test suite validating protocol version selection and conversion logic
site/* (multiple HTML/CSS/JS files) Generated documentation site files from MkDocs build process
requirements-dev.txt Added mkdocs dependency for documentation generation
mkdocs.yml New MkDocs configuration file for documentation structure
docs/* (multiple .md files) New markdown documentation source files

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


### Documentation

For more detailed information, please visit our [MkDocs documentation site](https://damacus.github.io/robovac/).

Choose a reason for hiding this comment

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

🚫 [linkspector] reported by reviewdog 🐶
Cannot reach https://damacus.github.io/robovac/ Status: 404

@damacus damacus closed this Dec 16, 2025
@damacus damacus deleted the feat/robovac-protocol-selection branch December 16, 2025 15:39
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.

1 participant