Sorry to dig up an older thread, but is there a way to use the unifi integration to notify of new network devices?
I used to have an automation that used the known_devices.yaml, but that is now depreciated.
TIA
mb
EDIT:
This was the automation. Is there a Unifi event?
- alias: System - New device connected
initial_state: true
trigger:
- platform: event
event_type: device_tracker_new_device
action:
- service: notify.pb
data_template:
message: >
New device:
{{trigger.event.data.host_name}}
({{trigger.event.data.entity_id}})
Mac: {{trigger.event.data.mac}}
title: Home Assistant