Good morning everyone!
I am at the relly begining of my Home Assistant journey, and I am trying to make my first automation (unfortunately without success!).
First of all, I didn’t had any systems, but wanted to discovered this “world”, so I installed home assistant on my Windows computer, just to make some trials. Now, I have Homeassistant running, with some devices detected.
I linked my phone , to I (Michaël), and looks to be OK. When I turn of the WIFI of my phone, my status apear as “Absent”.
I would like to make my first routine, and receive a notification when I leave home, so I created this:
However, when my status move from “present” to “absent” nothing happen… So I guess something is not well done!
I tried to click on the button "execute"and I receive a notification:
So I Guess my problem come from the trigger and not from the last part. But I am not able to understand where exactly is the problem. In the “Automation.yaml” I have this (generated automatically):
- id: ‘1587499843796’
alias: Alert me when Michaël leave home
description: ‘’
trigger:
- entity_id: person.michael
event: leave
platform: zone
zone: zone.home
condition:
action:- data:
message: Michaël est partie en courant !
notification_id: 1234
title: Run Run Forest
service: persistent_notification.create
Thanks in advance for your help