Home Assistant Unofficial Reference 2024.12.1
__init__.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.person.Person
 
class  homeassistant.components.person.PersonStorageCollection
 
class  homeassistant.components.person.PersonStorageCollectionWebsocket
 
class  homeassistant.components.person.PersonStore
 

Namespaces

 homeassistant.components.person
 

Functions

State homeassistant.components.person._get_latest (State|None prev, State curr)
 
None homeassistant.components.person.async_add_user_device_tracker (HomeAssistant hass, str user_id, str device_tracker_entity_id)
 
None homeassistant.components.person.async_create_person (HomeAssistant hass, str name, *str|None user_id=None, list[str]|None device_trackers=None)
 
bool homeassistant.components.person.async_setup (HomeAssistant hass, ConfigType config)
 
list[str] homeassistant.components.person.entities_in_person (HomeAssistant hass, str entity_id)
 
list[dict] homeassistant.components.person.filter_yaml_data (HomeAssistant hass, list[dict] persons)
 
list[str] homeassistant.components.person.persons_with_entity (HomeAssistant hass, str entity_id)
 

Variables

 homeassistant.components.person._LOGGER = logging.getLogger(__name__)
 
string homeassistant.components.person.ATTR_DEVICE_TRACKERS = "device_trackers"
 
string homeassistant.components.person.ATTR_SOURCE = "source"
 
string homeassistant.components.person.ATTR_USER_ID = "user_id"
 
string homeassistant.components.person.CONF_DEVICE_TRACKERS = "device_trackers"
 
string homeassistant.components.person.CONF_PICTURE = "picture"
 
string homeassistant.components.person.CONF_USER_ID = "user_id"
 
 homeassistant.components.person.CONFIG_SCHEMA
 
tuple homeassistant.components.person.IGNORE_STATES = (STATE_UNKNOWN, STATE_UNAVAILABLE)
 
 homeassistant.components.person.PERSON_SCHEMA
 
 homeassistant.components.person.STORAGE_KEY = DOMAIN
 
int homeassistant.components.person.STORAGE_VERSION = 2