From abdbf66acc61b28c4a861dac680a179ebd5cc22d Mon Sep 17 00:00:00 2001 From: Adrien Bouchart <50272173+adriB0u@users.noreply.github.com> Date: Thu, 3 Dec 2026 10:09:17 +0000 Subject: [PATCH] Expose vacuum_position as an image entity attribute --- custom_components/roborock_custom_map/image.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/custom_components/roborock_custom_map/image.py b/custom_components/roborock_custom_map/image.py index 255b6b6..eb42ebd 100644 --- a/custom_components/roborock_custom_map/image.py +++ b/custom_components/roborock_custom_map/image.py @@ -479,4 +479,7 @@ def extra_state_attributes(self): "calibration_points": calibration, "rooms": map_data.rooms, "zones": map_data.zones, + # Native map coordinates (x, y, a), like rooms/zones: lets cards track + # the robot without another map fetch. + "vacuum_position": map_data.vacuum_position, }