Namespaces | |
| const | |
| trigger | |
Classes | |
| class | TagDictStorageCollectionWebsocket |
| class | TagEntity |
| class | TagIDExistsError |
| class | TagIDManager |
| class | TagStorageCollection |
| class | TagStore |
Functions | |
| er.RegistryEntry | _create_entry (er.EntityRegistry entity_registry, str tag_id, str|None name) |
| None | async_scan_tag (HomeAssistant hass, str tag_id, str|None device_id, Context|None context=None) |
| bool | async_setup (HomeAssistant hass, ConfigType config) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| CONFIG_SCHEMA = cv.empty_config_schema(DOMAIN) | |
| string | LAST_SCANNED = "last_scanned" |
| string | LAST_SCANNED_BY_DEVICE_ID = "last_scanned_by_device_id" |
| STORAGE_KEY = DOMAIN | |
| int | STORAGE_VERSION = 1 |
| int | STORAGE_VERSION_MINOR = 3 |
| VolDictType | |
The Tag integration.
|
private |
Create an entity registry entry for a tag.
Definition at line 76 of file __init__.py.
| None homeassistant.components.tag.async_scan_tag | ( | HomeAssistant | hass, |
| str | tag_id, | ||
| str | None | device_id, | ||
| Context | None | context = None |
||
| ) |
Handle when a tag is scanned.
Definition at line 322 of file __init__.py.
| bool homeassistant.components.tag.async_setup | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Set up the Tag component.
Definition at line 230 of file __init__.py.
|
private |
Definition at line 28 of file __init__.py.
| homeassistant.components.tag.CONFIG_SCHEMA = cv.empty_config_schema(DOMAIN) |
Definition at line 53 of file __init__.py.
| string homeassistant.components.tag.LAST_SCANNED = "last_scanned" |
Definition at line 30 of file __init__.py.
| string homeassistant.components.tag.LAST_SCANNED_BY_DEVICE_ID = "last_scanned_by_device_id" |
Definition at line 31 of file __init__.py.
| homeassistant.components.tag.STORAGE_KEY = DOMAIN |
Definition at line 32 of file __init__.py.
| int homeassistant.components.tag.STORAGE_VERSION = 1 |
Definition at line 33 of file __init__.py.
| int homeassistant.components.tag.STORAGE_VERSION_MINOR = 3 |
Definition at line 34 of file __init__.py.
| homeassistant.components.tag.VolDictType |
Definition at line 38 of file __init__.py.