The latter approach is cleaner code wise, but will raise an error for the case where the old config entry isn't updated yet. I like having all the data before the entry setup, so I prefer this.    Downside is that we store credentials in the config entry data.