Change device for location-based HomeKit rules

I got a new iPhone. How can I change the device Home/HomeKit uses to activate location-based rules? Home still expects my old phone when triggering rules like “leave home” or “arrive home”?

I think it’s at Settings / Privacy / Location Services / Share My Location

Make sure the first option is enabled and the new phone is checked under the From section.