Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request new Vacuum Mijia Robot Vacuum M30 Pro #523

Open
3 of 7 tasks
GalaxyGiant opened this issue Mar 26, 2024 · 6 comments
Open
3 of 7 tasks

Request new Vacuum Mijia Robot Vacuum M30 Pro #523

GalaxyGiant opened this issue Mar 26, 2024 · 6 comments
Assignees
Labels
enhancement New feature or request new platform

Comments

@GalaxyGiant
Copy link

Checklist

  • I have updated the integration to the latest version available
  • I have checked if the vacuum/platform is already requested
  • I have sent raw map file to piotr.machowski.dev [at] gmail.com (Retrieving map; please provide your GitHub username in the email)

What vacuum model do you want to be supported?

Mijia Robot Vacuum M30 Pro

What is its name?

xiaomi.vacuum.c107

Available APIs

  • xiaomi
  • viomi
  • roidmi
  • dreame

Errors shown in the HA logs (if applicable)

Logger: homeassistant.helpers.entity
Source: helpers/entity.py:945
First occurred: 오후 11:25:14 (50 occurrences)
Last logged: 오후 11:33:09

Update for camera.xiaomi_cloud_map_extractor fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 945, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1264, in async_device_update
    await hass.async_add_executor_job(self.update)
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/xiaomi_cloud_map_extractor/camera.py", line 278, in update
    self._handle_map_data(map_name)
  File "/config/custom_components/xiaomi_cloud_map_extractor/camera.py", line 335, in _handle_map_data
    map_data, map_stored = self._device.get_map(map_name, self._colors, self._drawables, self._texts,
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/xiaomi_cloud_map_extractor/common/vacuum.py", line 27, in get_map
    response = self.get_raw_map_data(map_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/xiaomi_cloud_map_extractor/common/vacuum.py", line 45, in get_raw_map_data
    map_url = self.get_map_url(map_name)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/xiaomi_cloud_map_extractor/common/vacuum_v2.py", line 18, in get_map_url
    if api_response is None or "result" not in api_response or "url" not in api_response["result"]:
                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable

Other info

No response

@Elphman
Copy link

Elphman commented Apr 30, 2024

Waiting for this one as well. Let me know if i can help with beer to motivate you :)

@pruwait
Copy link

pruwait commented Jun 2, 2024

Need xiaomi.vacuum.c107 too...

@kostrum
Copy link

kostrum commented Jun 20, 2024

waiting for xiaomi.vacuum.c107 as well

@kostrum
Copy link

kostrum commented Jun 21, 2024

image
I have such error.
Is it possible to fix?

@lcapelo
Copy link

lcapelo commented Aug 5, 2024

I have the same issue.

Need xiaomi.vacuum.c107 too.

@leotantantan
Copy link

same here, have been waiting for a while

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new platform
Projects
None yet
Development

No branches or pull requests

7 participants