Closed o0shojo0o closed 5 months ago
Is it possible for you to rolback to v2.0.0b14
to make sure this is not related to the latest update?
The problem is also present with v2.0.0b14
See #591 with a quick hack for the map.
No idea about the various functions...
See #591 with a quick hack for the map.
No idea about the various functions...
@o0shojo0o can you confirm this fixes your issue too?
Yes, it fixed all the problems, but it's strange that it worked before... Or does the latest firmware update of the X40 have something to do with it?
Yes, it fixed all the problems, but it's strange that it worked before... Or does the latest firmware update of the X40 have something to do with it?
Yes probably due to a firmware change. I am closing this issue as duplicate of https://github.com/Tasshack/dreame-vacuum/issues/591 since it also contains the fix.
Describe the bug Suddenly various functions and the map no longer work. There was a firmware update, but I'm not sure if that's the reason.
Expected behavior That the options and map work again
Screenshots
Additional Information (please complete the following information)
Logger: custom_components.dreame_vacuum.dreame.map Quelle: custom_components/dreame_vacuum/dreame/map.py:6284 Integration: Dreame Vacuum (Dokumentation, Probleme) Erstmals aufgetreten: 19:25:51 (1 Vorkommnisse) Zuletzt protokolliert: 19:25:51
Map render Failed: Traceback (most recent call last): File "/config/custom_components/dreame_vacuum/dreame/map.py", line 6040, in render_map image = self.render_objects(cached_layers, map_data, robot_status, station_status, image, object_scale) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/dreame_vacuum/dreame/map.py", line 6588, in render_objects cached_layers[MapRendererLayer.SEGMENT][k] = self.render_segment( ^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/dreame_vacuum/dreame/map.py", line 7681, in render_segment self.color_scheme.segment[segment.color_index][1]
~~~~~^^^^^^^^^^^^^^^^^^^^^ TypeError: tuple indices must be integers or slices, not NoneType