valetudo-map-parser 0.1.9b37__py3-none-any.whl → 0.1.9b38__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -288,10 +288,15 @@ class AutoCrop:
288
288
  self.trim_right,
289
289
  self.trim_down,
290
290
  ).to_list()
291
- # if self.handler.shared.vacuum_state == "docked":
292
- # await (
293
- # self._async_save_auto_crop_data()
294
- # ) # Save the crop data to the disk
291
+ # Update the trims data in the shared instance
292
+ self.handler.shared.trims = TrimsData.from_dict(
293
+ {
294
+ "trim_left": self.trim_left,
295
+ "trim_up": self.trim_up,
296
+ "trim_right": self.trim_right,
297
+ "trim_down": self.trim_down,
298
+ }
299
+ )
295
300
  self.auto_crop_offset()
296
301
  # If it is needed to zoom the image.
297
302
  trimmed = await self.async_check_if_zoom_is_on(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: valetudo-map-parser
3
- Version: 0.1.9b37
3
+ Version: 0.1.9b38
4
4
  Summary: A Python library to parse Valetudo map data returning a PIL Image object.
5
5
  License: Apache-2.0
6
6
  Author: Sandro Cantarella
@@ -1,6 +1,6 @@
1
1
  valetudo_map_parser/__init__.py,sha256=Wmd20bdI1btzMq-0x8NxGYWskTjdUmD-Fem9MTfziwU,810
2
2
  valetudo_map_parser/config/__init__.py,sha256=DQ9plV3ZF_K25Dp5ZQHPDoG-40dQoJNdNi-dfNeR3Zc,48
3
- valetudo_map_parser/config/auto_crop.py,sha256=gYTSp4XkBTY2ir7wizBqSWdfwoZJV6Rjs5wwGw9N-pY,12494
3
+ valetudo_map_parser/config/auto_crop.py,sha256=_R0FhaihMzn7kf2GkesTsMOH8Kte7qe604auKy1L16M,12679
4
4
  valetudo_map_parser/config/colors.py,sha256=IzTT9JvF12YGGJxaTiEJRuwUdCCsFCLzsR9seCDfYWs,6515
5
5
  valetudo_map_parser/config/colors_man.py,sha256=9b5c6XmpMzhEiunwfIjVkOk1lDyV-UFoasACdkGXfbo,7833
6
6
  valetudo_map_parser/config/drawable.py,sha256=hsrEJCMVOrjs5sJfr26SeqJD0VNlYWwxcVkkHeaxx7U,20356
@@ -14,8 +14,8 @@ valetudo_map_parser/map_data.py,sha256=6FbQfgxFB6E4kcOWokReJOVSekVaE1kStyhTQhAhi
14
14
  valetudo_map_parser/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
15
  valetudo_map_parser/rand25_handler.py,sha256=GxZ8UDUYEXlQme-m29HZEIstBQL3zDJr5DOsgqBolUk,15235
16
16
  valetudo_map_parser/reimg_draw.py,sha256=V0JUASavKVnEtAhv7nOV4pjsRxZrNsjIUtctbKO8wvk,12507
17
- valetudo_map_parser-0.1.9b37.dist-info/LICENSE,sha256=Lh-qBbuRV0-jiCIBhfV7NgdwFxQFOXH3BKOzK865hRs,10480
18
- valetudo_map_parser-0.1.9b37.dist-info/METADATA,sha256=OJCrs0mNicuKehzKXgTh2v_55Dwds9JqMBgjT16KjpU,1029
19
- valetudo_map_parser-0.1.9b37.dist-info/NOTICE.txt,sha256=5lTOuWiU9aiEnJ2go8sc7lTJ7ntMBx0g0GFnNrswCY4,2533
20
- valetudo_map_parser-0.1.9b37.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
21
- valetudo_map_parser-0.1.9b37.dist-info/RECORD,,
17
+ valetudo_map_parser-0.1.9b38.dist-info/LICENSE,sha256=Lh-qBbuRV0-jiCIBhfV7NgdwFxQFOXH3BKOzK865hRs,10480
18
+ valetudo_map_parser-0.1.9b38.dist-info/METADATA,sha256=cT3S180N-0duiUkJJZuOFpVLBDlCBf_3tI5EfNdd4uc,1029
19
+ valetudo_map_parser-0.1.9b38.dist-info/NOTICE.txt,sha256=5lTOuWiU9aiEnJ2go8sc7lTJ7ntMBx0g0GFnNrswCY4,2533
20
+ valetudo_map_parser-0.1.9b38.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
21
+ valetudo_map_parser-0.1.9b38.dist-info/RECORD,,