Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.mastodon Namespace Reference

Namespaces

 config_flow
 
 const
 
 coordinator
 
 diagnostics
 
 entity
 
 notify
 
 sensor
 
 utils
 

Classes

class  MastodonData
 

Functions

bool async_migrate_entry (HomeAssistant hass, ConfigEntry entry)
 
bool async_setup_entry (HomeAssistant hass, MastodonConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, MastodonConfigEntry entry)
 
tuple[Mastodon, dict, dict] setup_mastodon (ConfigEntry entry)
 

Variables

 MastodonConfigEntry
 

Detailed Description

The Mastodon integration.

Function Documentation

◆ async_migrate_entry()

bool homeassistant.components.mastodon.async_migrate_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Migrate old config.

Definition at line 84 of file __init__.py.

◆ async_setup_entry()

bool homeassistant.components.mastodon.async_setup_entry ( HomeAssistant  hass,
MastodonConfigEntry  entry 
)
Set up Mastodon from a config entry.

Definition at line 42 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.mastodon.async_unload_entry ( HomeAssistant  hass,
MastodonConfigEntry  entry 
)
Unload a config entry.

Definition at line 77 of file __init__.py.

◆ setup_mastodon()

tuple[Mastodon, dict, dict] homeassistant.components.mastodon.setup_mastodon ( ConfigEntry  entry)
Get mastodon details.

Definition at line 116 of file __init__.py.

Variable Documentation

◆ MastodonConfigEntry

homeassistant.components.mastodon.MastodonConfigEntry

Definition at line 39 of file __init__.py.