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

Classes

class  ReolinkVODMediaSource
 

Functions

ReolinkVODMediaSource async_get_media_source (HomeAssistant hass)
 
ReolinkHost get_host (HomeAssistant hass, str config_entry_id)
 
str res_name (str stream)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 

Detailed Description

Expose Reolink IP camera VODs as media sources.

Function Documentation

◆ async_get_media_source()

ReolinkVODMediaSource homeassistant.components.reolink.media_source.async_get_media_source ( HomeAssistant  hass)
Set up camera media source.

Definition at line 32 of file media_source.py.

◆ get_host()

ReolinkHost homeassistant.components.reolink.media_source.get_host ( HomeAssistant  hass,
str  config_entry_id 
)
Return the Reolink host from the config entry id.

Definition at line 50 of file media_source.py.

◆ res_name()

str homeassistant.components.reolink.media_source.res_name ( str  stream)
Return the user friendly name for a stream.

Definition at line 37 of file media_source.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 29 of file media_source.py.