Skip to content

Commit 3e9149b

Browse files
authored
Make sure uuid has a valid name
1 parent 9813d3e commit 3e9149b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

custom_components/roborock_custom_map/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ async def async_setup_entry(
2929
async_add_entities(
3030
RoborockMap(
3131
config_entry,
32-
f"{coord.duid_slug}_custom_map_{map_info.name}",
32+
f"{coord.duid_slug}_custom_map_{map_info.name or f'Map {map_info.map_flag}'}",
3333
coord,
3434
coord.properties_api.home,
3535
map_info.map_flag,

custom_components/roborock_custom_map/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
"iot_class": "local_polling",
99
"issue_tracker": "https://github.com/Lash-L/RoborockCustomMap/issues",
1010
"requirements": [],
11-
"version": "0.1.2"
11+
"version": "0.1.3"
1212
}

0 commit comments

Comments
 (0)