mirror of
https://github.com/sudoxnym/roomba_rest980.git
synced 2026-04-14 11:37:46 +00:00
parent
75d4429233
commit
c3aefa8a21
3 changed files with 12 additions and 7 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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."""
|
||||
|
|
|
|||
|
|
@ -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-*"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue