question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The card seems to be working but I keep getting the errors below. The other problem I have is that the vacuum doesn’t respond to the commands like zone, go to,etc

Logger: homeassistant.helpers.entity
Source: custom_components/xiaomi_cloud_map_extractor/map_data_parser.py:94
First occurred: 12:30:25 PM (1 occurrences) 
Last logged: 12:30:25 PM

Update for camera.roborock_camera fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 278, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 474, in async_device_update
    raise exc
  File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/xiaomi_cloud_map_extractor/camera.py", line 190, in update
    map_data = self._connector.get_map(self._country, map_name, self._colors, self._drawables, self._texts,
  File "/config/custom_components/xiaomi_cloud_map_extractor/xiaomi_cloud_connector.py", line 117, in get_map
    map_data = MapDataParser.parse(unzipped, colors, drawables, texts, sizes, image_config)
  File "/config/custom_components/xiaomi_cloud_map_extractor/map_data_parser.py", line 79, in parse
    map_data.vacuum_room = MapDataParser.get_current_vacuum_room(img_start, raw, map_data.vacuum_position)
  File "/config/custom_components/xiaomi_cloud_map_extractor/map_data_parser.py", line 94, in get_current_vacuum_room
    x = round(vacuum_position.x / MapDataParser.MM - image_left)
AttributeError: 'NoneType' object has no attribute 'x'

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
benlebcommented, Oct 30, 2020

check the readme 😉

0reactions
jscherrycommented, Oct 31, 2020

Just updated and the errors are gone. I’ll try the recommended config. Thanks so much for your help.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error Definition & Meaning - Merriam-Webster
a · an act or condition of ignorant or imprudent deviation from a code of behavior ; b · an act involving an...
Read more >
error - Wiktionary
(uncountable) The state, quality, or condition of being wrong. · (countable) A mistake; an accidental wrong action or a false statement not made...
Read more >
Error | Apple Developer Documentation
A type representing an error value that can be thrown.
Read more >
Error Definition & Meaning - Dictionary.com
error · a deviation from accuracy or correctness; a mistake, as in action or speech: His speech contained several factual errors. · belief...
Read more >
66 Synonyms & Antonyms for ERROR - Thesaurus.com
Find 66 ways to say ERROR, along with antonyms, related words, and example sentences at Thesaurus.com, the world's most trusted free thesaurus.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found