mirror of
https://github.com/Lash-L/RoborockCustomMap.git
synced 2026-07-26 16:18:32 +02:00
Make sure uuid has a valid name
This commit is contained in:
@@ -29,7 +29,7 @@ async def async_setup_entry(
|
|||||||
async_add_entities(
|
async_add_entities(
|
||||||
RoborockMap(
|
RoborockMap(
|
||||||
config_entry,
|
config_entry,
|
||||||
f"{coord.duid_slug}_custom_map_{map_info.name}",
|
f"{coord.duid_slug}_custom_map_{map_info.name or f'Map {map_info.map_flag}'}",
|
||||||
coord,
|
coord,
|
||||||
coord.properties_api.home,
|
coord.properties_api.home,
|
||||||
map_info.map_flag,
|
map_info.map_flag,
|
||||||
|
|||||||
@@ -8,5 +8,5 @@
|
|||||||
"iot_class": "local_polling",
|
"iot_class": "local_polling",
|
||||||
"issue_tracker": "https://github.com/Lash-L/RoborockCustomMap/issues",
|
"issue_tracker": "https://github.com/Lash-L/RoborockCustomMap/issues",
|
||||||
"requirements": [],
|
"requirements": [],
|
||||||
"version": "0.1.2"
|
"version": "0.1.3"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user