Closed sca075 closed 2 months ago
The updates in the MQTT Vacuum Camera component include the addition of a new property for streaming status, enhancements to state management, and the introduction of new methods for data processing and attribute handling. Version numbers across various files have been incremented to reflect these changes, and the overall code structure has been improved through better organization and clearer constant definitions.
Files | Change Summary |
---|---|
custom_components/mqtt_vacuum_camera/camera.py |
Introduced is_streaming property, refactored async_update , added methods for vacuum state updates, snapshot handling, and improved attribute management. |
custom_components/mqtt_vacuum_camera/camera_processing.py |
Updated conditions for suspending image processing using a new constant NOT_STREAMING_STATES for better clarity and maintainability. |
custom_components/mqtt_vacuum_camera/camera_shared.py |
Added generate_attributes method to CameraShared , improved documentation for CameraSharedManager methods. |
custom_components/mqtt_vacuum_camera/const.py |
Added NOT_STREAMING_STATES constant and a comprehensive list of attribute-related constants to enhance state management and attribute handling. |
custom_components/mqtt_vacuum_camera/manifest.json |
Updated version number to reflect the new release. |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
@coderabbitai review
@coderabbitai review
@coderabbitai review
Refactoring main modules.
Summary by CodeRabbit
New Features
is_streaming
, to indicate the camera's streaming status.Bug Fixes
Documentation
Chores