Adds a Reconfigure flow: Settings → Devices & Services → Hinen Solar Advanced → Reconfigure now lets you enter a new Client ID and Client Secret on demand.
Previously credentials could only be replaced via reauthentication, which Home Assistant only offers after the stored token is rejected. That is too late when you rotate credentials deliberately — the config entry keeps the old client id and secret while the current access token carries on working, and re-adding the integration aborts as already-configured. There was no path to update them until the integration broke.
The existing entry is updated in place and reloaded, so entity IDs, history and automations are preserved. Additive — no entity changes.
Closes the Gold reconfiguration-flow quality-scale rule.
🤖 Generated with Claude Code