mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 16:17:20 +00:00
Bump Python-Roborock to 0.39.0 (#107547)
* bump to 0.39.0 * add new strings * change strings
This commit is contained in:
parent
33dd6f66e3
commit
29cac5b093
@ -8,9 +8,9 @@ import logging
|
|||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
from roborock import RoborockException, RoborockInvalidCredentials
|
from roborock import RoborockException, RoborockInvalidCredentials
|
||||||
from roborock.api import RoborockApiClient
|
|
||||||
from roborock.cloud_api import RoborockMqttClient
|
from roborock.cloud_api import RoborockMqttClient
|
||||||
from roborock.containers import DeviceData, HomeDataDevice, HomeDataProduct, UserData
|
from roborock.containers import DeviceData, HomeDataDevice, HomeDataProduct, UserData
|
||||||
|
from roborock.web_api import RoborockApiClient
|
||||||
|
|
||||||
from homeassistant.config_entries import ConfigEntry
|
from homeassistant.config_entries import ConfigEntry
|
||||||
from homeassistant.const import CONF_USERNAME
|
from homeassistant.const import CONF_USERNAME
|
||||||
|
@ -5,7 +5,6 @@ from collections.abc import Mapping
|
|||||||
import logging
|
import logging
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
from roborock.api import RoborockApiClient
|
|
||||||
from roborock.containers import UserData
|
from roborock.containers import UserData
|
||||||
from roborock.exceptions import (
|
from roborock.exceptions import (
|
||||||
RoborockAccountDoesNotExist,
|
RoborockAccountDoesNotExist,
|
||||||
@ -14,6 +13,7 @@ from roborock.exceptions import (
|
|||||||
RoborockInvalidEmail,
|
RoborockInvalidEmail,
|
||||||
RoborockUrlException,
|
RoborockUrlException,
|
||||||
)
|
)
|
||||||
|
from roborock.web_api import RoborockApiClient
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
|
|
||||||
from homeassistant import config_entries
|
from homeassistant import config_entries
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
"iot_class": "local_polling",
|
"iot_class": "local_polling",
|
||||||
"loggers": ["roborock"],
|
"loggers": ["roborock"],
|
||||||
"requirements": [
|
"requirements": [
|
||||||
"python-roborock==0.38.0",
|
"python-roborock==0.39.0",
|
||||||
"vacuum-map-parser-roborock==0.1.1"
|
"vacuum-map-parser-roborock==0.1.1"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -136,7 +136,11 @@
|
|||||||
"washing_the_mop": "Washing the mop",
|
"washing_the_mop": "Washing the mop",
|
||||||
"going_to_wash_the_mop": "Going to wash the mop",
|
"going_to_wash_the_mop": "Going to wash the mop",
|
||||||
"charging_complete": "Charging complete",
|
"charging_complete": "Charging complete",
|
||||||
"device_offline": "Device offline"
|
"device_offline": "Device offline",
|
||||||
|
"unknown": "Unknown",
|
||||||
|
"locked": "Locked",
|
||||||
|
"air_drying_stopping": "Air drying stopping",
|
||||||
|
"egg_attack": "Cupid mode"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"total_cleaning_time": {
|
"total_cleaning_time": {
|
||||||
@ -174,7 +178,25 @@
|
|||||||
"filter_blocked": "Filter blocked",
|
"filter_blocked": "Filter blocked",
|
||||||
"invisible_wall_detected": "Invisible wall detected",
|
"invisible_wall_detected": "Invisible wall detected",
|
||||||
"cannot_cross_carpet": "Cannot cross carpet",
|
"cannot_cross_carpet": "Cannot cross carpet",
|
||||||
"internal_error": "Internal error"
|
"internal_error": "Internal error",
|
||||||
|
"strainer_error": "Filter is wet or blocked",
|
||||||
|
"compass_error": "Strong magnetic field detected",
|
||||||
|
"dock": "Dock not connected to power",
|
||||||
|
"visual_sensor": "Camera error",
|
||||||
|
"light_touch": "Wall sensor error",
|
||||||
|
"collect_dust_error_3": "Clean auto-empty dock",
|
||||||
|
"collect_dust_error_4": "Auto empty dock voltage error",
|
||||||
|
"mopping_roller_1": "Wash roller may be jammed",
|
||||||
|
"mopping_roller_error_2": "Wash roller not lowered properly",
|
||||||
|
"clear_water_box_hoare": "Check the clean water tank",
|
||||||
|
"dirty_water_box_hoare": "Check the dirty water tank",
|
||||||
|
"sink_strainer_hoare": "Reinstall the water filter",
|
||||||
|
"clear_water_box_exception": "Clean water tank empty",
|
||||||
|
"clear_brush_exception": "Check that the water filter has been correctly installed",
|
||||||
|
"clear_brush_exception_2": "Positioning button error",
|
||||||
|
"filter_screen_exception": "Clean the dock water filter",
|
||||||
|
"mopping_roller_2": "[%key:component::roborock::entity::sensor::vacuum_error::state::mopping_roller_1%]",
|
||||||
|
"temperature_protection": "Unit temperature protection"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -2244,7 +2244,7 @@ python-rabbitair==0.0.8
|
|||||||
python-ripple-api==0.0.3
|
python-ripple-api==0.0.3
|
||||||
|
|
||||||
# homeassistant.components.roborock
|
# homeassistant.components.roborock
|
||||||
python-roborock==0.38.0
|
python-roborock==0.39.0
|
||||||
|
|
||||||
# homeassistant.components.smarttub
|
# homeassistant.components.smarttub
|
||||||
python-smarttub==0.0.36
|
python-smarttub==0.0.36
|
||||||
|
@ -1702,7 +1702,7 @@ python-qbittorrent==0.4.3
|
|||||||
python-rabbitair==0.0.8
|
python-rabbitair==0.0.8
|
||||||
|
|
||||||
# homeassistant.components.roborock
|
# homeassistant.components.roborock
|
||||||
python-roborock==0.38.0
|
python-roborock==0.39.0
|
||||||
|
|
||||||
# homeassistant.components.smarttub
|
# homeassistant.components.smarttub
|
||||||
python-smarttub==0.0.36
|
python-smarttub==0.0.36
|
||||||
|
@ -36,6 +36,65 @@
|
|||||||
'roborock_device_info': dict({
|
'roborock_device_info': dict({
|
||||||
'device': dict({
|
'device': dict({
|
||||||
'activeTime': 1672364449,
|
'activeTime': 1672364449,
|
||||||
|
'deviceFeatures': dict({
|
||||||
|
'anyStateTransitGotoSupported': True,
|
||||||
|
'avoidCollisionSupported': False,
|
||||||
|
'backChargeAutoWashSupported': False,
|
||||||
|
'carefulSlowMapSupported': False,
|
||||||
|
'carpetDeepCleanSupported': False,
|
||||||
|
'carpetShowOnMap': False,
|
||||||
|
'carpetSupported': True,
|
||||||
|
'cleanRouteFastModeSupported': False,
|
||||||
|
'cliffZoneSupported': False,
|
||||||
|
'currentMapRestoreEnabled': False,
|
||||||
|
'customDoorSillSupported': False,
|
||||||
|
'customWaterBoxDistanceSupported': False,
|
||||||
|
'downloadTestVoiceSupported': False,
|
||||||
|
'dryingSupported': False,
|
||||||
|
'dustCollectionSettingSupported': False,
|
||||||
|
'eggModeSupported': False,
|
||||||
|
'flowLedSettingSupported': False,
|
||||||
|
'fwFilterObstacleSupported': True,
|
||||||
|
'ignoreUnknownMapObjectSupported': True,
|
||||||
|
'mapBeautifyInternalDebugSupported': False,
|
||||||
|
'mapCarpetAddSupported': False,
|
||||||
|
'mopPathSupported': False,
|
||||||
|
'multiMapSegmentTimerSupported': False,
|
||||||
|
'newDataForCleanHistory': False,
|
||||||
|
'newDataForCleanHistoryDetail': False,
|
||||||
|
'offlineMapSupported': False,
|
||||||
|
'photoUploadSupported': False,
|
||||||
|
'recordAllowed': True,
|
||||||
|
'resegmentSupported': False,
|
||||||
|
'roomNameSupported': False,
|
||||||
|
'rpcRetrySupported': False,
|
||||||
|
'setChildSupported': True,
|
||||||
|
'shakeMopSetSupported': False,
|
||||||
|
'showCleanFinishReasonSupported': True,
|
||||||
|
'smartDoorSillSupported': False,
|
||||||
|
'stuckZoneSupported': False,
|
||||||
|
'supportBackupMap': False,
|
||||||
|
'supportCleanEstimate': False,
|
||||||
|
'supportCustomDnd': False,
|
||||||
|
'supportCustomModeInCleaning': False,
|
||||||
|
'supportFloorDirection': False,
|
||||||
|
'supportFloorEdit': False,
|
||||||
|
'supportFurniture': False,
|
||||||
|
'supportIncrementalMap': True,
|
||||||
|
'supportQuickMapBuilder': False,
|
||||||
|
'supportRemoteControlInCall': False,
|
||||||
|
'supportRoomTag': False,
|
||||||
|
'supportSetSwitchMapMode': False,
|
||||||
|
'supportSetVolumeInCall': True,
|
||||||
|
'supportSmartGlobalCleanWithCustomMode': False,
|
||||||
|
'supportSmartScene': False,
|
||||||
|
'supportedValleyElectricity': False,
|
||||||
|
'unsaveMapReasonSupported': False,
|
||||||
|
'videoMonitorSupported': True,
|
||||||
|
'videoSettingSupported': True,
|
||||||
|
'washThenChargeCmdSupported': False,
|
||||||
|
'wifiManageSupported': False,
|
||||||
|
}),
|
||||||
'deviceStatus': dict({
|
'deviceStatus': dict({
|
||||||
'120': 0,
|
'120': 0,
|
||||||
'121': 8,
|
'121': 8,
|
||||||
@ -208,7 +267,9 @@
|
|||||||
'squareMeterCleanArea': 1159.2,
|
'squareMeterCleanArea': 1159.2,
|
||||||
}),
|
}),
|
||||||
'consumable': dict({
|
'consumable': dict({
|
||||||
|
'cleaningBrushTimeLeft': 1079935,
|
||||||
'cleaningBrushWorkTimes': 65,
|
'cleaningBrushWorkTimes': 65,
|
||||||
|
'dustCollectionTimeLeft': 80975,
|
||||||
'dustCollectionWorkTimes': 25,
|
'dustCollectionWorkTimes': 25,
|
||||||
'filterElementWorkTime': 0,
|
'filterElementWorkTime': 0,
|
||||||
'filterTimeLeft': 465618,
|
'filterTimeLeft': 465618,
|
||||||
@ -219,6 +280,7 @@
|
|||||||
'sensorTimeLeft': 33618,
|
'sensorTimeLeft': 33618,
|
||||||
'sideBrushTimeLeft': 645618,
|
'sideBrushTimeLeft': 645618,
|
||||||
'sideBrushWorkTime': 74382,
|
'sideBrushWorkTime': 74382,
|
||||||
|
'strainerTimeLeft': 539935,
|
||||||
'strainerWorkTimes': 65,
|
'strainerWorkTimes': 65,
|
||||||
}),
|
}),
|
||||||
'lastCleanRecord': dict({
|
'lastCleanRecord': dict({
|
||||||
@ -310,6 +372,65 @@
|
|||||||
'roborock_device_info': dict({
|
'roborock_device_info': dict({
|
||||||
'device': dict({
|
'device': dict({
|
||||||
'activeTime': 1672364449,
|
'activeTime': 1672364449,
|
||||||
|
'deviceFeatures': dict({
|
||||||
|
'anyStateTransitGotoSupported': True,
|
||||||
|
'avoidCollisionSupported': False,
|
||||||
|
'backChargeAutoWashSupported': False,
|
||||||
|
'carefulSlowMapSupported': False,
|
||||||
|
'carpetDeepCleanSupported': False,
|
||||||
|
'carpetShowOnMap': False,
|
||||||
|
'carpetSupported': True,
|
||||||
|
'cleanRouteFastModeSupported': False,
|
||||||
|
'cliffZoneSupported': False,
|
||||||
|
'currentMapRestoreEnabled': False,
|
||||||
|
'customDoorSillSupported': False,
|
||||||
|
'customWaterBoxDistanceSupported': False,
|
||||||
|
'downloadTestVoiceSupported': False,
|
||||||
|
'dryingSupported': False,
|
||||||
|
'dustCollectionSettingSupported': False,
|
||||||
|
'eggModeSupported': False,
|
||||||
|
'flowLedSettingSupported': False,
|
||||||
|
'fwFilterObstacleSupported': True,
|
||||||
|
'ignoreUnknownMapObjectSupported': True,
|
||||||
|
'mapBeautifyInternalDebugSupported': False,
|
||||||
|
'mapCarpetAddSupported': False,
|
||||||
|
'mopPathSupported': False,
|
||||||
|
'multiMapSegmentTimerSupported': False,
|
||||||
|
'newDataForCleanHistory': False,
|
||||||
|
'newDataForCleanHistoryDetail': False,
|
||||||
|
'offlineMapSupported': False,
|
||||||
|
'photoUploadSupported': False,
|
||||||
|
'recordAllowed': True,
|
||||||
|
'resegmentSupported': False,
|
||||||
|
'roomNameSupported': False,
|
||||||
|
'rpcRetrySupported': False,
|
||||||
|
'setChildSupported': True,
|
||||||
|
'shakeMopSetSupported': False,
|
||||||
|
'showCleanFinishReasonSupported': True,
|
||||||
|
'smartDoorSillSupported': False,
|
||||||
|
'stuckZoneSupported': False,
|
||||||
|
'supportBackupMap': False,
|
||||||
|
'supportCleanEstimate': False,
|
||||||
|
'supportCustomDnd': False,
|
||||||
|
'supportCustomModeInCleaning': False,
|
||||||
|
'supportFloorDirection': False,
|
||||||
|
'supportFloorEdit': False,
|
||||||
|
'supportFurniture': False,
|
||||||
|
'supportIncrementalMap': True,
|
||||||
|
'supportQuickMapBuilder': False,
|
||||||
|
'supportRemoteControlInCall': False,
|
||||||
|
'supportRoomTag': False,
|
||||||
|
'supportSetSwitchMapMode': False,
|
||||||
|
'supportSetVolumeInCall': True,
|
||||||
|
'supportSmartGlobalCleanWithCustomMode': False,
|
||||||
|
'supportSmartScene': False,
|
||||||
|
'supportedValleyElectricity': False,
|
||||||
|
'unsaveMapReasonSupported': False,
|
||||||
|
'videoMonitorSupported': True,
|
||||||
|
'videoSettingSupported': True,
|
||||||
|
'washThenChargeCmdSupported': False,
|
||||||
|
'wifiManageSupported': False,
|
||||||
|
}),
|
||||||
'deviceStatus': dict({
|
'deviceStatus': dict({
|
||||||
'120': 0,
|
'120': 0,
|
||||||
'121': 8,
|
'121': 8,
|
||||||
@ -482,7 +603,9 @@
|
|||||||
'squareMeterCleanArea': 1159.2,
|
'squareMeterCleanArea': 1159.2,
|
||||||
}),
|
}),
|
||||||
'consumable': dict({
|
'consumable': dict({
|
||||||
|
'cleaningBrushTimeLeft': 1079935,
|
||||||
'cleaningBrushWorkTimes': 65,
|
'cleaningBrushWorkTimes': 65,
|
||||||
|
'dustCollectionTimeLeft': 80975,
|
||||||
'dustCollectionWorkTimes': 25,
|
'dustCollectionWorkTimes': 25,
|
||||||
'filterElementWorkTime': 0,
|
'filterElementWorkTime': 0,
|
||||||
'filterTimeLeft': 465618,
|
'filterTimeLeft': 465618,
|
||||||
@ -493,6 +616,7 @@
|
|||||||
'sensorTimeLeft': 33618,
|
'sensorTimeLeft': 33618,
|
||||||
'sideBrushTimeLeft': 645618,
|
'sideBrushTimeLeft': 645618,
|
||||||
'sideBrushWorkTime': 74382,
|
'sideBrushWorkTime': 74382,
|
||||||
|
'strainerTimeLeft': 539935,
|
||||||
'strainerWorkTimes': 65,
|
'strainerWorkTimes': 65,
|
||||||
}),
|
}),
|
||||||
'lastCleanRecord': dict({
|
'lastCleanRecord': dict({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user