sca075 / mqtt_vacuum_camera

Camera Integration for Home Assistant to export and render all Vacuums connected via MQTT( including Valetudo Hypfer and RE(rand256)) Maps.
Apache License 2.0
106 stars 7 forks source link

Use room names when configuring colors of each room. #244

Closed carefulcomputer closed 2 months ago

carefulcomputer commented 3 months ago

Description

Currently when configuring the colors for each room, it shows the room numbers which makes is harder to color specific rooms with specific colors.

Solution

I have Valetudo vaccum and it supports changing room names and it already shows the names on Map in MQTT Vaccum Camera Widget. Please show the room names, if available , from vaccum data when configuring the colors for each room.

Alternatives

No response

Context

No response

sca075 commented 3 months ago

@carefulcomputer the rooms colors description can be reconfigured by a function in the advanced options.

At current it supports "one vacuum " only = one floor.

In Home Assistant is not possible to do "conditional descriptions" for the config_flow. If it was possible I would have implemented this long ago.

Although as you use the same vacuum for both floors and I noticed during some tests that the colors description and numbers are updated correctly. Please check the colours.md in the DOCS and try to customize the colors description.

Hope this helps 😉

sca075 commented 3 months ago

image

After renaming the rooms of one of the floors it could be at this moment to get the above result.

Note that anyway it is necessary to refresh the page if not reboot HA.

P.s. the format is Room-ID, Room the 20 20 is because of Rand256 not customized rooms names.

The last on the list is the original fork whit renamed room names. The Rand256 has 4 rooms and was the last vacuum to rename them.