Closed sca075 closed 3 months ago
The mqtt_vacuum_camera
integration has been significantly enhanced, introducing improved functionalities and optimizations across various components. Key updates include the addition of a startup
attribute for managing MQTT room data during initialization, the introduction of an extract_file_name
function for better handling of unique identifiers, and shifts to asynchronous utility functions that improve performance and maintainability in the configuration flow.
File Path | Change Summary |
---|---|
custom_components/mqtt_vacuum_camera/camera.py |
Added startup attribute to ValetudoCamera class for conditional MQTT room data saving, updated version number. |
custom_components/mqtt_vacuum_camera/common.py |
Introduced extract_file_name function, added re import, and revised docstrings. |
custom_components/mqtt_vacuum_camera/config_flow.py |
Incorporated extract_file_name for file_name assignment for improved clarity. |
custom_components/mqtt_vacuum_camera/manifest.json |
Updated version to 2024.07.4 . |
custom_components/mqtt_vacuum_camera/snapshots/snapshot.py |
Removed async_save_room_data , added confirm_storage_path , and reorganized logging. |
custom_components/mqtt_vacuum_camera/valetudo/MQTT/connector.py |
Transitioned from PNG decoding to JSON extraction, added support for MQTT segments. |
custom_components/mqtt_vacuum_camera/utils/files_operations.py |
Refactored to include asynchronous file operations, enhancing modularity and error handling. |
In the code where vacuum roams,
New functions find their cozy homes.
Async tasks and file names bright,
Bringing clarity to the night.
With updates clear and imports right,
Our vacuum's future sparkles bright.
🐇✨
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?
The file_name of the roomsdata was miss extracted as per there was a split function for "" that is commonly used in the entity_ids in Home Assistant. As consequence some of the vacuums renamed from users can have issues confirguring the vacuum maps.
This PR is to solve this issue. As well to improve the code orgnaization some additional commit will be issue, in order to put alall files managments functions in one module only.
Summary by CodeRabbit
New Features
Bug Fixes
Refactor
Documentation
Chores