Closed lymanepp closed 1 year ago
Patch coverage: 85.81
% and project coverage change: +1.73
:tada:
Comparison is base (
267fc61
) 85.18% compared to head (b6649fb
) 86.92%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
I created a new free API token today for testing purposes. I found that:
EDIT: I have verified that the ratelimit response headers aren't being returned for old or new API tokens.
This is a simple prototype to discover the time steps that an API key supports. Due to the overhead of making a few API calls, this should probably be done one time only in the config_flow and saved in the config_entry.
The return value of this function is currently a list of valid time steps. It could instead be the smallest time step that worked--whichever value works better with the HA integration.
We could also discover which fields are supported by an API key using the same approach.