I appreciate this is probably a very simple question, but I’m only a few days into the HA universe and know nothing about coding or YAML.
I’m trying to create an automation that makes HA stream a message through my speakers when my phone connects to the router, and it works.
However, what condition do I need to add to run this automation only if my phone was disconnected for a certain period, for example, more than 30 minutes? I tried the following, but it doesn’t seem to work:
Well, what I want is to stream a message when my phone connects to the router, only if it was disconnected for more than 30 minutes. If it was disconnected for just 20 minutes, I don’t want the message streamed.
Currently, it streams the message after 30 minutes of disconnection, even if my phone doesn’t reconnect.
Just to let you know.
192 addresses are internal on your LAN and not something anyone can track you by.
I also have 192.
192.168.0.147 to be specific is my HA.