Closed sca075 closed 4 months ago
Recent updates to the mqtt_vacuum_camera
custom component have focused on expanding and refining its configurability, particularly regarding camera options, room colors, and transparency settings. These changes include the addition of new constants and attributes, improved conditional logic based on the number of rooms, and new methods for handling floor color configuration. The translations for various languages have also been expanded to support these new settings.
File Path | Change Summary |
---|---|
custom_components/mqtt_vacuum_camera/config_flow.py |
Adjustments in conditional logic, new constants and attributes addition, dynamic handling of room colors, and new methods for floor color configuration. |
custom_components/mqtt_vacuum_camera/strings.json |
Expanded configuration options for camera setup, advanced options, image settings, color configurations, and service descriptions. |
custom_components/mqtt_vacuum_camera/translations/* |
Added new data entries related to colors and transparency settings for rooms and floors for various languages. |
sequenceDiagram
participant User
participant ConfigFlow
participant CameraComponent
User->>ConfigFlow: Invoke configuration setup
ConfigFlow->>CameraComponent: Fetch number of rooms
CameraComponent-->>ConfigFlow: Return number of rooms
alt rooms_count == 1
ConfigFlow->>User: Display floor color configuration (floor_only)
User->>ConfigFlow: Set floor color
else rooms_count > 1
ConfigFlow->>User: Display room color configuration (rooms_colours_1)
User->>ConfigFlow: Set room colors
end
ConfigFlow->>User: Display transparency settings (alpha_floor or alpha_2/3)
User->>ConfigFlow: Set transparency settings
ConfigFlow-->>CameraComponent: Save settings
In the land of bytes, where colors bloom,
Our vacuum maps now see less gloom.
With rooms so bright and floors so clear,
Custom settings bring much cheer.
A hop of joy, so much delight,
Through code, we bring your home to light!
🐇✨
[!TIP]
Early access features: enabled
We are currently testing the following features in early access: - **OpenAI `gpt-4o` model for code reviews and chat**: OpenAI claims that this model is better at understanding and generating code than the previous models. We seek your feedback over the next few weeks before making it generally available. Note: - You can enable or disable early access features from the CodeRabbit UI or by updating the CodeRabbit configuration file. - Please join our [Discord Community](https://discord.com/invite/GsXnASn26c) to provide feedback and report issues. - OSS projects are currently opted into early access features by default.
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 configuration for V1 colours is just "Flour Color" 1 configurable color. Added to the translations the fileds to configure this colour so that it will be unique.
Summary by CodeRabbit
New Features
Bug Fixes
Localization