rcastberg / sure_petcare

Python library for accessing sure connect petflap
GNU General Public License v3.0
55 stars 15 forks source link

Fixes for some changes to SurePet API behaviour #22

Closed strix-technica closed 10 months ago

strix-technica commented 10 months ago

Hi Rene, two fixes for changed behaviours since December:

NB: as noted in the code (search XXX), I can't tell whether curfew times are stored in UTC or localtime. Localtime seems most likely, so localtime is used when determining whether curfew is in effect or not. Someone in a timezone other than GMT should be able to clarify. 😁