Closed adriencog closed 3 months ago
This pull request introduces two new properties, out_of_sight
and last_seen
, to the Person
class in the pyatmo
library. These properties are retrieved from the home status call and are used to update the person's status. The changes include modifications to the Person
class, updates to the Home
class to handle the new properties, and corresponding test updates.
Files | Changes |
---|---|
src/pyatmo/person.py src/pyatmo/home.py |
Added and updated properties out_of_sight and last_seen in the Person class and ensured they are updated in the Home class. |
tests/test_camera.py |
Extended tests to validate the new out_of_sight and last_seen properties in the Person class. |
Add two properties to Person class:
out_of_sight
&last_seen
that we retrieve from home status callSummary by Sourcery
This pull request introduces new properties
out_of_sight
andlast_seen
to the Person class, allowing for tracking of a person's visibility status and last seen timestamp. It also includes updates to the Person class to support these properties and extends existing tests to cover the new functionality.out_of_sight
andlast_seen
properties to the Person class to track visibility and last seen timestamp.update
method for refreshing person data.test_camera.py
to validate the newout_of_sight
andlast_seen
properties.