Smart travel blueprint

I wanted a blueprint to assist me with travel appointments (leaving home)
And also some advise on charging the car.
This was for me a way to learn how not make blueprints, so let me know what you think.

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

───────────────
HOW IT WORKS
───────────────
1. Reads all calendar events with a location for the next day
2. Calculates driving time + distance using Google Travel Time
3. Optionally creates "Travel" events in your calendar (before each appointment)
4. Calculates total distance including return trip (unless disabled)
5. Calculates smart target SOC with configurable safety buffer
6. Sets target SOC for your EV Smart Charge integration
7. Optionally calculates and stores preconditioning start time
8. Sends a notification with summary

───────────────
NOTES & TIPS
───────────────
• All modules outside Core Settings are fully optional
• Events are automatically sorted by start time
• Supports km only
• Distance unit and safety buffer are configurable in the Travel Assistant section
• Works best with Google Calendar + Google Travel Time integration
• For Waze, not tested yet as I cannot getting it to work in my HA 

see my github for the file. 

homeassistantevtravel/ev-smarttravel.yaml at main · bjbaerken/homeassistantevtravel