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

Classes

class  GardenaBluetoothBinarySensor
 
class  GardenaBluetoothBinarySensorEntityDescription
 

Functions

None async_setup_entry (HomeAssistant hass, GardenaBluetoothConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Variables

tuple DESCRIPTIONS
 

Detailed Description

Support for binary_sensor entities.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.gardena_bluetooth.binary_sensor.async_setup_entry ( HomeAssistant  hass,
GardenaBluetoothConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Set up binary sensor based on a config entry.

Definition at line 53 of file binary_sensor.py.

Variable Documentation

◆ DESCRIPTIONS

tuple homeassistant.components.gardena_bluetooth.binary_sensor.DESCRIPTIONS
Initial value:
1 = (
2  GardenaBluetoothBinarySensorEntityDescription(
3  key=Valve.connected_state.uuid,
4  translation_key="valve_connected_state",
5  device_class=BinarySensorDeviceClass.CONNECTIVITY,
6  entity_category=EntityCategory.DIAGNOSTIC,
7  char=Valve.connected_state,
8  ),
9  GardenaBluetoothBinarySensorEntityDescription(
10  key=Sensor.connected_state.uuid,
11  translation_key="sensor_connected_state",
12  device_class=BinarySensorDeviceClass.CONNECTIVITY,
13  entity_category=EntityCategory.DIAGNOSTIC,
14  char=Sensor.connected_state,
15  ),
16 )

Definition at line 35 of file binary_sensor.py.