We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e9149b commit 83013abCopy full SHA for 83013ab
1 file changed
custom_components/roborock_custom_map/image.py
@@ -115,11 +115,11 @@ def extra_state_attributes(self):
115
return {}
116
if map_data.rooms is not None:
117
for room in map_data.rooms.values():
118
- name = map_data.rooms.get(room.number)
+ name = self._home_trait._rooms_trait.room_map.get(room.number)
119
room.name = name.name if name else "Unknown"
120
-
+ calibration = map_data.calibration()
121
return {
122
- "calibration_points": map_data.calibration(),
+ "calibration_points": calibration,
123
"rooms": map_data.rooms,
124
"zones": map_data.zones,
125
}
0 commit comments