Finally took some time to look at adding services for honk and flash (and only flash). Since services are called from out of the blue and not in the context of a vehicle, and since we do not want to use the VIN to identify the vehicle, I've made an attempt to look up vehicle data from the device registry using device id and go from there.
One think that puzzles me is that the key to the coordinator (the entry_id) is really a set (containing a single element) in the registry. I'm not sure if that is a good way to get hold of the coordinator. Perhaps you have a better idea.
Finally took some time to look at adding services for honk and flash (and only flash). Since services are called from out of the blue and not in the context of a vehicle, and since we do not want to use the VIN to identify the vehicle, I've made an attempt to look up vehicle data from the device registry using device id and go from there.
One think that puzzles me is that the key to the coordinator (the entry_id) is really a set (containing a single element) in the registry. I'm not sure if that is a good way to get hold of the coordinator. Perhaps you have a better idea.