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:
- Created 3 years ago
- Comments:8 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
check the readme 😉
Just updated and the errors are gone. I’ll try the recommended config. Thanks so much for your help.