I’m using the ASUSWRT integration. My goal is trigger an automation any time any device connects or disconnects from the network, be the entity known/unknown and/or enabled/disabled within HA. I believe I need assistance in identifying which event(s) to listen to that will return the MAC address and whatever other data the event would provide to HA.
My goal is to be able to pre-populate a MySQL table with the MAC addresses of mobile devices I plan on having automation support whenever they connect to the network. I don’t want to wait until they are here, I go find the entity in HA, enable it, add it as another trigger to an existing automation, etc. My automation will ID the MAC from MySQL and if it is something I expect, will run automation “generically” using MySQL provided data.
Thanks