Classes | |
| class | LastFmConfigFlowHandler |
| class | LastFmOptionsFlowHandler |
Functions | |
| tuple[User, dict[str, str]] | get_lastfm_user (str api_key, str username) |
| tuple[list[str], dict[str, str]] | validate_lastfm_users (str api_key, list[str] usernames) |
Variables | |
| dictionary | PLACEHOLDERS = {"api_account_url": "https://www.last.fm/api/account/create"} |
| Schema | |
Config flow for LastFm.
| tuple[User, dict[str, str]] homeassistant.components.lastfm.config_flow.get_lastfm_user | ( | str | api_key, |
| str | username | ||
| ) |
Get and validate lastFM User.
Definition at line 36 of file config_flow.py.
| tuple[list[str], dict[str, str]] homeassistant.components.lastfm.config_flow.validate_lastfm_users | ( | str | api_key, |
| list[str] | usernames | ||
| ) |
Validate list of users. Return tuple of valid users and errors.
Definition at line 57 of file config_flow.py.
| dictionary homeassistant.components.lastfm.config_flow.PLACEHOLDERS = {"api_account_url": "https://www.last.fm/api/account/create"} |
Definition at line 26 of file config_flow.py.
| homeassistant.components.lastfm.config_flow.Schema |
Definition at line 28 of file config_flow.py.