valetudo-map-parser 0.1.9b62__py3-none-any.whl → 0.1.9b63__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.
@@ -117,7 +117,7 @@ class CameraShared:
117
117
 
118
118
  def _state_charging(self) -> bool:
119
119
  """Check if the vacuum is charging."""
120
- return self.vacuum_state == "charging"
120
+ return (self.vacuum_state == "docked") and (self.vacuum_battery < 100)
121
121
 
122
122
  @staticmethod
123
123
  def _compose_obstacle_links(vacuum_host_ip: str, obstacles: list) -> list | None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: valetudo-map-parser
3
- Version: 0.1.9b62
3
+ Version: 0.1.9b63
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
@@ -10,7 +10,7 @@ valetudo_map_parser/config/enhanced_drawable.py,sha256=QlGxlUMVgECUXPtFwIslyjubW
10
10
  valetudo_map_parser/config/optimized_element_map.py,sha256=52BCnkvVv9bre52LeVIfT8nhnEIpc0TuWTv1xcNu0Rk,15744
11
11
  valetudo_map_parser/config/rand256_parser.py,sha256=LU3y7XvRRQxVen9iwom0dOaDnJJvhZdg97NqOYRZFas,16279
12
12
  valetudo_map_parser/config/rand25_parser.py,sha256=kIayyqVZBfQfAMkiArzqrrj9vqZB3pkgT0Y5ufrQmGA,16448
13
- valetudo_map_parser/config/shared.py,sha256=cE4eSN7qu7JsUwKIkMqm4AWoO7m9HgbtxkedD_7uW0U,12526
13
+ valetudo_map_parser/config/shared.py,sha256=gvFme_xZN9BPpxmmOP4VbpxTUSrW8Z4A2LMOtGGGXCE,12558
14
14
  valetudo_map_parser/config/types.py,sha256=saL7pULKAdTRQ_ShR2arT8IV472e9MBC_SohTthlGp8,17567
15
15
  valetudo_map_parser/config/utils.py,sha256=fnzzNywE0Z1qw968hUa_yGslq3YhOP7daFj21miuhjI,31354
16
16
  valetudo_map_parser/hypfer_draw.py,sha256=ZK_WybvukHd8nNk2mq5icrOu1Ue3SVCIC6_Hc9bTg0Q,29396
@@ -21,8 +21,8 @@ valetudo_map_parser/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
21
21
  valetudo_map_parser/rand256_handler.py,sha256=8X26-ApkwzfsbuXcdvt-sHWC0ibzjp3VbK0ZRCT77QE,27697
22
22
  valetudo_map_parser/reimg_draw.py,sha256=1q8LkNTPHEA9Tsapc_JnVw51kpPYNhaBU-KmHkefCQY,12507
23
23
  valetudo_map_parser/rooms_handler.py,sha256=ovqQtAjauAqwUNPR0aX27P2zhheQmqfaFhDE3_AwYWk,17821
24
- valetudo_map_parser-0.1.9b62.dist-info/LICENSE,sha256=Lh-qBbuRV0-jiCIBhfV7NgdwFxQFOXH3BKOzK865hRs,10480
25
- valetudo_map_parser-0.1.9b62.dist-info/METADATA,sha256=ISGH6DZ343InhMXS5dqcMUBSaqzCKS7mzfjsgp3SNeU,3353
26
- valetudo_map_parser-0.1.9b62.dist-info/NOTICE.txt,sha256=5lTOuWiU9aiEnJ2go8sc7lTJ7ntMBx0g0GFnNrswCY4,2533
27
- valetudo_map_parser-0.1.9b62.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
28
- valetudo_map_parser-0.1.9b62.dist-info/RECORD,,
24
+ valetudo_map_parser-0.1.9b63.dist-info/LICENSE,sha256=Lh-qBbuRV0-jiCIBhfV7NgdwFxQFOXH3BKOzK865hRs,10480
25
+ valetudo_map_parser-0.1.9b63.dist-info/METADATA,sha256=cOZ8iBSJZj8lZpBMZRbYu7gHo-tCx77D3yeHC_qSh1E,3353
26
+ valetudo_map_parser-0.1.9b63.dist-info/NOTICE.txt,sha256=5lTOuWiU9aiEnJ2go8sc7lTJ7ntMBx0g0GFnNrswCY4,2533
27
+ valetudo_map_parser-0.1.9b63.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
28
+ valetudo_map_parser-0.1.9b63.dist-info/RECORD,,