Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.unifiprotect.media_player Namespace Reference

Classes

class  ProtectMediaPlayer
 

Functions

None async_setup_entry (HomeAssistant hass, UFPConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 _SPEAKER_DESCRIPTION
 

Detailed Description

Support for Ubiquiti's UniFi Protect NVR.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.unifiprotect.media_player.async_setup_entry ( HomeAssistant  hass,
UFPConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Discover cameras with speakers on a UniFi Protect NVR.

Definition at line 36 of file media_player.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.unifiprotect.media_player._LOGGER = logging.getLogger(__name__)
private

Definition at line 29 of file media_player.py.

◆ _SPEAKER_DESCRIPTION

homeassistant.components.unifiprotect.media_player._SPEAKER_DESCRIPTION
private
Initial value:
1 = MediaPlayerEntityDescription(
2  key="speaker", name="Speaker", device_class=MediaPlayerDeviceClass.SPEAKER
3 )

Definition at line 31 of file media_player.py.