Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.netatmo.media_source Namespace Reference

Classes

class  IncompatibleMediaSource
 
class  NetatmoSource
 

Functions

NetatmoSource async_get_media_source (HomeAssistant hass)
 
tuple[str, str, int|None] async_parse_identifier (MediaSourceItem item)
 
str remove_html_tags (str text)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string MIME_TYPE = "application/x-mpegURL"
 

Detailed Description

Netatmo Media Source Implementation.

Function Documentation

◆ async_get_media_source()

NetatmoSource homeassistant.components.netatmo.media_source.async_get_media_source ( HomeAssistant  hass)
Set up Netatmo media source.

Definition at line 30 of file media_source.py.

◆ async_parse_identifier()

tuple[str, str, int | None] homeassistant.components.netatmo.media_source.async_parse_identifier ( MediaSourceItem  item)
Parse identifier.

Definition at line 144 of file media_source.py.

◆ remove_html_tags()

str homeassistant.components.netatmo.media_source.remove_html_tags ( str  text)
Remove html tags from string.

Definition at line 137 of file media_source.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.netatmo.media_source._LOGGER = logging.getLogger(__name__)
private

Definition at line 22 of file media_source.py.

◆ MIME_TYPE

string homeassistant.components.netatmo.media_source.MIME_TYPE = "application/x-mpegURL"

Definition at line 23 of file media_source.py.