What is no more annoying than discovering that you had forgotten to plug in the charger for the car before going to bed. Or maybe even more annoying, to come up with it right after you go to bed.
But do not despair – Home Assistant may be able to help you again.
If you have a Volvo, it is possible to integrate it with your smart home. Then you get more opportunities to control different functions in the car. With the help of Home Assistant, you can now check the heat, whether the car is locked, whether it is charging, and also whether the charging cable is plugged in.
We have one automation that runs every night, e.g. at 21.00. It checks if the car is at home, and if it is, it checks if the charging cable is plugged in. If it is not plugged in, it sends a notification to one of us who is at home (or both).
The trigger for this automation is time. Every day at 21.00 this triggers.
The next thing we do is put on a check on whether the charging cable is plugged in or not.
Here we have set up so that one notice goes to the one of us who is at home.
The first thing we do under the Action tab then is to put on a choice.
Then you choose the first condition to be state – person.x is at home
Then you enter what to do for this choice.
Then repeat this for each person you want to send the notification to.
This is how easy it can be done, and you will never forget to put the charger in the car again.
The whole automation as in the example:
alias: Volvo - charger
description: ''
trigger:
- platform: time
at: '21:00'
condition:
- condition: state
entity_id: automation.v90_pluged_in_status
state: 'off'
action:
- choose:
- conditions:
- condition: state
entity_id: person.lars
state: home
sequence:
- device_id: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
domain: mobile_app
type: notify
title: Charge
message: Remember the charger
- conditions:
- condition: state
entity_id: person.xxx
state: home
sequence:
- device_id: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
domain: mobile_app
type: notify
title: Charge
message: Remember the charger
default: []
mode: single