Published On Oct 4, 2023
Check out the main channel video with my recent favorite automations: Ā Ā Ā ā¢Ā 10Ā NEWĀ HomeĀ AutomationĀ Ideas:Ā IĀ outdi...Ā Ā
Apple Shortcut link to get travel time home and send to Home Assistant
https://www.icloud.com/shortcuts/976e...
Tesla Custom Integration using HACS
https://github.com/alandtse/tesla
Tesla arrive home open garage automation YAML
YouTube won't let me put a "less than" sign in the description so just replace %_lessthan_% with the "less than" sign.
trigger:
- platform: template
value_template: "{{state_attr('sensor.arrival_time', 'Minutes to arrival') %_lessthan_% 1.5 }}"
condition:
- condition: state
entity_id: device_tracker.destination_location_tracker
state: "Close to home zone "
action:
- service: cover.open_cover
data: {}
target:
entity_id: cover.garage_entity
mode: single
I also have one more automation that I didn't mention in the video and that's a force data update on the Tesla Custom Integration. When I put my phone on the charger a boolean is updated in HA. That is triggered from a Apple Shortcut so it will happen instantly. Then when my phone is on the charger and it's away from the house (not connected to WiFi) it does a force update on the Tesla data. I don't know if this is necessary but I thought it couldn't hurt.
trigger:
- platform: event
event_data: {}
event_type: reed_phone_charger_on
condition:
- condition: state
entity_id: device_tracker.iphone
state: not_home
for:
hours: 0
minutes: 0
seconds: 0
action:
- service: button.press
data: {}
target:
entity_id: button.force_data_update
mode: single
FOLLOW ME
Subscribe to Reed's Smart Home: http://bit.ly/3EulO02
Subscribe to Smart Home Solver: https://bit.ly/3joO1dZ
Twitter: Ā Ā /Ā smarthomesolverĀ Ā
Instagram: Ā Ā /Ā smarthomesolverĀ Ā
TikTok: Ā Ā /Ā smarthomesolverĀ Ā
---------
MUSIC
Operatic 3 by Vibe Mountain