This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# First of all, create the following Helpers in Home Assistant: | |
# input_text.{Car}_last_parked_geocoded_location | |
# input_number.{Car}_last_parked_latitude | |
# input_number.{Car}_last_parked_longitude | |
# Then, in the file: automations.yaml, add the following block | |
# replacing {Car} for your car model and {Phone} for your phone model in Home Assistant. | |
- alias: Store location for {Car} from {Phone} when Android Auto disconnects | |
trigger: | |
- platform: state |