Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.syncthru Namespace Reference

Namespaces

 binary_sensor
 
 config_flow
 
 const
 
 sensor
 

Functions

bool async_setup_entry (HomeAssistant hass, ConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, ConfigEntry entry)
 
set[tuple[str, str]] device_connections (SyncThru printer)
 
set[tuple[str, str]]|None device_identifiers (SyncThru printer)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
list PLATFORMS = [Platform.BINARY_SENSOR, Platform.SENSOR]
 

Detailed Description

The syncthru component.

Function Documentation

◆ async_setup_entry()

bool homeassistant.components.syncthru.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Set up config entry.

Definition at line 24 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.syncthru.async_unload_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Unload the config entry.

Definition at line 82 of file __init__.py.

◆ device_connections()

set[tuple[str, str]] homeassistant.components.syncthru.device_connections ( SyncThru  printer)
Get device connections for device registry.

Definition at line 97 of file __init__.py.

◆ device_identifiers()

set[tuple[str, str]] | None homeassistant.components.syncthru.device_identifiers ( SyncThru  printer)
Get device identifiers for device registry.

Definition at line 89 of file __init__.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.syncthru._LOGGER = logging.getLogger(__name__)
private

Definition at line 19 of file __init__.py.

◆ PLATFORMS

list homeassistant.components.syncthru.PLATFORMS = [Platform.BINARY_SENSOR, Platform.SENSOR]

Definition at line 21 of file __init__.py.