Compare commits

..

1 Commits

Author SHA1 Message Date
Li Shuzhen
0115e5ad4b
Merge ac3b379995 into 7c97b85f02 2025-08-14 12:30:37 +08:00
2 changed files with 0 additions and 15 deletions

View File

@ -170,11 +170,6 @@ SPEC_DEVICE_TRANS_MAP: dict = {
'properties': {
'battery-level': {'read'}
}
},
'optional': {
'actions': {
'start-charge'
}
}
}
},

View File

@ -203,16 +203,6 @@ class Vacuum(MIoTServiceEntity, StateVacuumEntity):
self._attr_supported_features |= VacuumEntityFeature.LOCATE
self._action_identify = action
# Use start-charge from battery service as fallback
# if stop-and-gocharge is not available
if self._action_stop_and_gocharge is None:
for action in entity_data.actions:
if action.name == 'start-charge':
self._attr_supported_features |= (
VacuumEntityFeature.RETURN_HOME)
self._action_stop_and_gocharge = action
break
async def async_start(self) -> None:
"""Start or resume the cleaning task."""
if self._prop_status is not None: