Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.generic.camera Namespace Reference

Classes

class  GenericCamera
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry entry, AddEntitiesCallback async_add_entities)
 
httpx.Auth|None generate_auth (Mapping[str, Any] device_info)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 

Detailed Description

Support for IP Cameras.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.generic.camera.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback   async_add_entities 
)
Set up a generic IP Camera.

Definition at line 49 of file camera.py.

◆ generate_auth()

httpx.Auth | None homeassistant.components.generic.camera.generate_auth ( Mapping[str, Any]  device_info)
Generate httpx.Auth object from credentials.

Definition at line 59 of file camera.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.generic.camera._LOGGER = logging.getLogger(__name__)
private

Definition at line 46 of file camera.py.