Pylitterbot

Latest version: v2023.5.1

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 10

2021.2.8

Add model to robot and slightly adjust how sleep_mode_start_time and sleep_mode_end_time are calculated
Adjusted set_sleep_mode to allow not passing in a time when turning on, which will default to the previous sleep_mode_start_time or the current time if that is empty
Create utils file to separate some logic
Additional code cleanup and organizing

2021.2.6

Breaking Changes
Robot.UnitStatus enum was revamped so as to provide more detail:
- all Enum members have changed:
- `UnitStatus.BR` is now `UnitStatus.BONNET_REMOVED`
- `UnitStatus.RDY` is now `UnitStatus.READY`
- etc
- to get the "code", you now use the `.value` property (previously was retrieved by using `.name`)
- to get the text, you use the `.label` property (previously was retrieved by using `.value`)
- a few text values also changed, such as that for DF1/DF2

Other Changes
Now uses the method from the newer app to set sleep mode to avoid start time "drift". If you use the older "Litter-Robot" app instead of the "AutoPets Connect" app, you may see discrepancies in the sleep mode start time if you continue to set the sleep mode time from the "Litter-Robot" app.
`sleep_mode_start_time` and `sleep_mode_end_time` may now both have values even if `sleep_mode_active` is false

2021.2.5

Adjust UnitStatus text

2021.2.4

Handle ConnectTimeout exception

2021.2.3

Fix default cycle count/capacity

2021.2.2

Allow Robot to be initialized via various parameter combinations
Switch to dict.get accessors when saving Robot data

Page 9 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.