Closed sca075 closed 1 month ago
The recent updates to the mqtt_vacuum_camera
component enhance its service functionalities by introducing the reset_trims
feature, enabling users to reset map trims easily. Additionally, a configuration reload function simplifies service management, improving user customization and operational capabilities, ultimately boosting the overall user experience.
File | Change Summary |
---|---|
custom_components/mqtt_vacuum_camera/__init__.py , custom_components/mqtt_vacuum_camera/manifest.json |
Introduced reset_trims service and _reload_config function; updated version and pillow dependency. |
sequenceDiagram
participant User
participant HomeAssistant
participant MqttVacuumCamera
User->>HomeAssistant: Call reset_trims service
HomeAssistant->>MqttVacuumCamera: Invoke async_reset_map_trims()
MqttVacuumCamera->>MqttVacuumCamera: Reset map trims
MqttVacuumCamera-->>HomeAssistant: Return completion status
HomeAssistant-->>User: Confirm reset successful
🐇 In the world of vacuums, sleek and bright,
A new trim reset brings pure delight!
With tweaks and changes, we hop along,
Enhancing our service, making it strong!
So let’s bounce with joy, and celebrate,
A tidy home awaits, oh isn’t it great? ✨
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?
Using one vacuum for two floors may require to reset the trims of the images quite often. There is an option on the config flow to do this and it is also currently required to reset the camera. This PR is to automate this process in order to get all done with a service call.
Summary by CodeRabbit
New Features
Enhancements
pillow
library for improved functionality.Version Update
2024.08.0b1
to2024.08.0b2
.