There was an error while loading. Please reload this page.
1 parent 774a3c1 commit d1dc0c6Copy full SHA for d1dc0c6
1 file changed
custom_components/mammotion/coordinator.py
@@ -807,7 +807,7 @@ async def _async_setup(self) -> None:
807
ota_info = await device.mammotion_http.get_device_ota_firmware(
808
[device.iot_id]
809
)
810
- If ota_info is not None:
+ if ota_info is not None:
811
for check_version in ota_info.data:
812
if check_version.device_id == device.iot_id:
813
device.state.update_check = check_version
0 commit comments