Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.sighthound.image_processing Namespace Reference

Classes

class  SighthoundEntity
 

Functions

None setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback add_entities, DiscoveryInfoType|None discovery_info=None)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string ATTR_BOUNDING_BOX = "bounding_box"
 
string ATTR_PEOPLE = "people"
 
string CONF_ACCOUNT_TYPE = "account_type"
 
string CONF_SAVE_FILE_FOLDER = "save_file_folder"
 
string CONF_SAVE_TIMESTAMPTED_FILE = "save_timestamped_file"
 
string DATETIME_FORMAT = "%Y-%m-%d_%H:%M:%S"
 
string DEV = "dev"
 
string EVENT_PERSON_DETECTED = "sighthound.person_detected"
 
 PLATFORM_SCHEMA
 
string PROD = "prod"
 

Detailed Description

Person detection using Sighthound cloud service.

Function Documentation

◆ setup_platform()

None homeassistant.components.sighthound.image_processing.setup_platform ( HomeAssistant  hass,
ConfigType  config,
AddEntitiesCallback  add_entities,
DiscoveryInfoType | None   discovery_info = None 
)
Set up the platform.

Definition at line 54 of file image_processing.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.sighthound.image_processing._LOGGER = logging.getLogger(__name__)
private

Definition at line 31 of file image_processing.py.

◆ ATTR_BOUNDING_BOX

string homeassistant.components.sighthound.image_processing.ATTR_BOUNDING_BOX = "bounding_box"

Definition at line 35 of file image_processing.py.

◆ ATTR_PEOPLE

string homeassistant.components.sighthound.image_processing.ATTR_PEOPLE = "people"

Definition at line 36 of file image_processing.py.

◆ CONF_ACCOUNT_TYPE

string homeassistant.components.sighthound.image_processing.CONF_ACCOUNT_TYPE = "account_type"

Definition at line 37 of file image_processing.py.

◆ CONF_SAVE_FILE_FOLDER

string homeassistant.components.sighthound.image_processing.CONF_SAVE_FILE_FOLDER = "save_file_folder"

Definition at line 38 of file image_processing.py.

◆ CONF_SAVE_TIMESTAMPTED_FILE

string homeassistant.components.sighthound.image_processing.CONF_SAVE_TIMESTAMPTED_FILE = "save_timestamped_file"

Definition at line 39 of file image_processing.py.

◆ DATETIME_FORMAT

string homeassistant.components.sighthound.image_processing.DATETIME_FORMAT = "%Y-%m-%d_%H:%M:%S"

Definition at line 40 of file image_processing.py.

◆ DEV

string homeassistant.components.sighthound.image_processing.DEV = "dev"

Definition at line 41 of file image_processing.py.

◆ EVENT_PERSON_DETECTED

string homeassistant.components.sighthound.image_processing.EVENT_PERSON_DETECTED = "sighthound.person_detected"

Definition at line 33 of file image_processing.py.

◆ PLATFORM_SCHEMA

homeassistant.components.sighthound.image_processing.PLATFORM_SCHEMA
Initial value:
1 = IMAGE_PROCESSING_PLATFORM_SCHEMA.extend(
2  {
3  vol.Required(CONF_API_KEY): cv.string,
4  vol.Optional(CONF_ACCOUNT_TYPE, default=DEV): vol.In([DEV, PROD]),
5  vol.Optional(CONF_SAVE_FILE_FOLDER): cv.isdir,
6  vol.Optional(CONF_SAVE_TIMESTAMPTED_FILE, default=False): cv.boolean,
7  }
8 )

Definition at line 44 of file image_processing.py.

◆ PROD

string homeassistant.components.sighthound.image_processing.PROD = "prod"

Definition at line 42 of file image_processing.py.