Public Member Functions | |
| None | __init__ (self, HomeAssistant hass, dict[str, Any] token) |
| dict[str, Any] | async_get_access_token (self) |
Public Member Functions inherited from homeassistant.components.fitbit.api.FitbitApi | |
| None | __init__ (self, HomeAssistant hass, FitbitUnitSystem|None unit_system=None) |
| list[FitbitDevice] | async_get_devices (self) |
| dict[str, Any] | async_get_latest_time_series (self, str resource_type) |
| FitbitUnitSystem | async_get_unit_system (self) |
| FitbitProfile | async_get_user_profile (self) |
Private Attributes | |
| _token | |
Profile fitbit authentication before a ConfigEntry exists. This implementation directly provides the token without supporting refresh.
| None homeassistant.components.fitbit.api.ConfigFlowFitbitApi.__init__ | ( | self, | |
| HomeAssistant | hass, | ||
| dict[str, Any] | token | ||
| ) |
| dict[str, Any] homeassistant.components.fitbit.api.ConfigFlowFitbitApi.async_get_access_token | ( | self | ) |
Return the token for the Fitbit API.
Reimplemented from homeassistant.components.fitbit.api.FitbitApi.
|
private |