diff --git a/custom_components/roomba_rest980/CloudApi.py b/custom_components/roomba_rest980/CloudApi.py index 146890e..3ed74a7 100644 --- a/custom_components/roomba_rest980/CloudApi.py +++ b/custom_components/roomba_rest980/CloudApi.py @@ -20,7 +20,7 @@ import aiohttp _LOGGER = logging.getLogger(__name__) # Debug: Save UMF data to file for analysis -DEBUG_SAVE_UMF = True +DEBUG_SAVE_UMF = False DEBUG_UMF_PATH = Path("/workspaces/ha-core/config/debug_umf_data.json") @@ -450,7 +450,8 @@ class iRobotCloudApi: umf_data = await self._aws_request(url, params) # Save UMF data for debugging/camera development - await self._save_umf_data_for_debug(pmap_id, umf_data) + # TODO: Enable during development. + # await self._save_umf_data_for_debug(pmap_id, umf_data) return umf_data diff --git a/custom_components/roomba_rest980/camera.py b/custom_components/roomba_rest980/camera.py index 522d7de..a4b1021 100644 --- a/custom_components/roomba_rest980/camera.py +++ b/custom_components/roomba_rest980/camera.py @@ -152,7 +152,7 @@ class RoombaMapCamera(Camera): sw_version=rdata["softwareVer"], ) - def camera_image( + async def async_camera_image( self, width: int | None = None, height: int | None = None ) -> bytes | None: """Return camera image.""" diff --git a/custom_components/roomba_rest980/manifest.json b/custom_components/roomba_rest980/manifest.json index ad0e681..3c24084 100644 --- a/custom_components/roomba_rest980/manifest.json +++ b/custom_components/roomba_rest980/manifest.json @@ -1,7 +1,9 @@ { "domain": "roomba_rest980", "name": "Roomba (Rest980)", - "codeowners": ["@ia74"], + "codeowners": [ + "@ia74" + ], "config_flow": true, "dependencies": [], "dhcp": [ @@ -26,8 +28,10 @@ "iot_class": "local_polling", "issue_tracker": "https://github.com/ia74/roomba_rest980/issues", "quality_scale": "bronze", - "requirements": ["aiofiles==24.1.0"], - "version": "1.11.0", + "requirements": [ + "aiofiles==24.1.0" + ], + "version": "1.12.0", "zeroconf": [ { "type": "_amzn-alexa._tcp.local.", @@ -38,4 +42,4 @@ "name": "roomba-*" } ] -} +} \ No newline at end of file