Skip to content

Repository files navigation

Luxer One

This custom Home Assistant component exposes a sensor per location which represents any pending Luxer One packages awaiting pickup. It updates every five minutes.

The sensor state represents the number of packages at the location, and there is an attribute packages_json which contains the raw JSON response from the Luxer One API. This is useful if you want to incorporate any of these details in your automations or other templates. For example, you can get the picture from the most recently delivered package with this template (substituting the sensor name for your own):

{% set packages = state_attr("sensor.pending_luxer_packages", "packages_json") %}
{% if packages | length > 0 %}
   {{ packages[0]["labels"][0] }}
{% endif %}

Migration from v0.1.0

Version 0.1.0 of the integration created only a single sensor for all packages. Starting with version 0.2.0, multiple locker locations are supported and a sensor will be created for each.

Additionally, you will be prompted to reauthenticate with an email-based one time password. You'll only need to do this once.

About

Luxer One custom component for Home Assistant

Resources

Contributing

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages