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

Classes

class  MBBinarySensor
 

Functions

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

Variables

dictionary BINARYSENSOR_TYPES
 

Detailed Description

BinarySensor integration microBees.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.microbees.binary_sensor.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback   async_add_entities 
)
Set up the microBees binary sensor platform.

Definition at line 38 of file binary_sensor.py.

Variable Documentation

◆ BINARYSENSOR_TYPES

dictionary homeassistant.components.microbees.binary_sensor.BINARYSENSOR_TYPES
Initial value:
1 = {
2  12: BinarySensorEntityDescription(
3  device_class=BinarySensorDeviceClass.MOTION,
4  key="motion_sensor",
5  ),
6  13: BinarySensorEntityDescription(
7  device_class=BinarySensorDeviceClass.DOOR,
8  key="door_sensor",
9  ),
10  19: BinarySensorEntityDescription(
11  device_class=BinarySensorDeviceClass.MOISTURE,
12  key="moisture_sensor",
13  ),
14  20: BinarySensorEntityDescription(
15  device_class=BinarySensorDeviceClass.SMOKE,
16  key="smoke_sensor",
17  ),
18 }

Definition at line 18 of file binary_sensor.py.