glance- / dhl Goto Github PK
View Code? Open in Web Editor NEWA custom_component for home-assistant to track DHL packages via their api.
License: Apache License 2.0
A custom_component for home-assistant to track DHL packages via their api.
License: Apache License 2.0
Would it be possible to get live tracking information as attributes? Like stops before delivery?
Thx in advance
Ive tested a bit and created some weird tracking ids.
Ive registered IDs like "dhl" "dhl123" "123dhl"
So creating this is not a problem, but i cant unregister them. So now theyre in my entity list and cant get removed or unregistered.
Thanks for your work here, it works mostly very good.
The problem is refreshing the entities to get their new states. Is there a way to control the polling or just trigger a refresh without doing unregister and register again?
this is not really a issue.
Is it somehow possible to add a package title or anything to a specific package?
If you track multiple packages, its hard to know which is which.
2024-04-24 11:50:49.821 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'dhl' calls async_add_job
, which is deprecated and will be removed in Home Assistant 2025.4; Please review https://developers.home-assistant.io/blog/2024/03/13/deprecate_add_run_job for replacement options at custom_components/dhl/sensor.py, line 86: await hass.async_add_job(save_json, json_path, registrations), please report it to the author of the 'dhl' custom integration
I hereby reported this :)
Home Assistant 2022.2 throws the following message:
Entity dhl.xxx (<class 'custom_components.dhl.sensor.DHLSensor'>) implements device_state_attributes. Please report it to the custom component author.
Seems like it needs to be renamed to extra_state_attributes
: https://community.home-assistant.io/t/warning-that-custom-component-is-using-device-state-attributes/376020/2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.