The action creates the entity automatically based on the value of dev_id if a matching device_tracker entity doesn’t already exist… So, if device_tracker.person_1 doesn’t exist the following will create the entity and set its state to “home”, if the tracker does exist it will just set its state to “home”:
- service: device_tracker.see
data:
dev_id: person_1
location_name: home