smartcar / python-sdk

Smartcar Python SDK
MIT License
44 stars 13 forks source link

Lock Status: Add lock_status method to SDK #123

Closed JacobAndrewSmith92 closed 1 year ago

JacobAndrewSmith92 commented 1 year ago

This PR is responsible for adding the lock_status to get lock status information back from a vehicle.

The type is:


LockStatus = NamedTuple(
    "LockStatus",
    [
        ("is_locked", bool),
        ("doors", List[Door]),
        ("windows", List[Window]),
        ("sunroof", List[Sunroof]),
        ("storage", List[Storage]),
        ("charging_port", List[ChargingPort]),
        ("meta", namedtuple),
    ]
)

Asana: https://app.asana.com/0/1205281929337658/1205139255747898/f

smartcar-ci commented 1 year ago

:tada: This PR is included in version 6.7.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: