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

Classes

class  PS4Device
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
int DEFAULT_RETRIES = 2
 

Detailed Description

Support for PlayStation 4 consoles.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.ps4.media_player.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up PS4 from a config entry.

Definition at line 48 of file media_player.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 42 of file media_player.py.

◆ DEFAULT_RETRIES

int homeassistant.components.ps4.media_player.DEFAULT_RETRIES = 2

Definition at line 45 of file media_player.py.