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

Namespaces

 binary_sensor
 
 button
 
 config_flow
 
 const
 
 coordinator
 
 entity
 
 number
 
 sensor
 
 switch
 
 valve
 

Functions

bool async_setup_entry (HomeAssistant hass, GardenaBluetoothConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, GardenaBluetoothConfigEntry entry)
 
CachedConnection get_connection (HomeAssistant hass, str address)
 

Variables

int DISCONNECT_DELAY = 5
 
 GardenaBluetoothConfigEntry
 
 LOGGER = logging.getLogger(__name__)
 
float TIMEOUT = 20.0
 

Detailed Description

The Gardena Bluetooth integration.

Function Documentation

◆ async_setup_entry()

bool homeassistant.components.gardena_bluetooth.async_setup_entry ( HomeAssistant  hass,
GardenaBluetoothConfigEntry   entry 
)
Set up Gardena Bluetooth from a config entry.

Definition at line 52 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.gardena_bluetooth.async_unload_entry ( HomeAssistant  hass,
GardenaBluetoothConfigEntry   entry 
)
Unload a config entry.

Definition at line 93 of file __init__.py.

◆ get_connection()

CachedConnection homeassistant.components.gardena_bluetooth.get_connection ( HomeAssistant  hass,
str  address 
)
Set up a cached client that keeps connection after last use.

Definition at line 38 of file __init__.py.

Variable Documentation

◆ DISCONNECT_DELAY

int homeassistant.components.gardena_bluetooth.DISCONNECT_DELAY = 5

Definition at line 33 of file __init__.py.

◆ GardenaBluetoothConfigEntry

homeassistant.components.gardena_bluetooth.GardenaBluetoothConfigEntry

Definition at line 35 of file __init__.py.

◆ LOGGER

homeassistant.components.gardena_bluetooth.LOGGER = logging.getLogger(__name__)

Definition at line 31 of file __init__.py.

◆ TIMEOUT

float homeassistant.components.gardena_bluetooth.TIMEOUT = 20.0

Definition at line 32 of file __init__.py.