The Departure Time Manager integration for Home Assistant allows you to dynamically manage and automate departure times for your vehicle or other entities.
- Add or remove departure times dynamically via the Home Assistant UI.
- Automatically clear expired departure times 5 minutes after they pass.
- Provides a sensor displaying the next upcoming departure time.
- Fully customizable logic to fit your needs.
- Clone or download this repository.
- Copy the
departure_time_manager
folder into yourcustom_components
directory in your Home Assistant configuration folder. - Restart Home Assistant.
- In the Home Assistant UI, navigate to Settings > Devices & Services.
- Click Add Integration and search for "Departure Time Manager".
- During setup, specify the entity representing your car or another device.
- Add a new departure time by calling the service
departure_time_manager.add_time
with the desired time inHH:MM
format. - Remove a departure time by calling the service
departure_time_manager.remove_time
with the specific time to delete. - The sensor
sensor.next_departure_time
will always show the next upcoming departure time.
This integration supports English (en
) and German (de
) translations.
service: departure_time_manager.add_time
data:
time: "08:30"
service: departure_time_manager.remove_time
data:
time: "08:30"
Feel free to fork this repository and contribute to its development. Pull requests are welcome!
This project is licensed under the MIT License.