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

Classes

class  YaleDoorBatterySensor
 
class  YaleDoorSensor
 
class  YaleProblemSensor
 

Functions

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

Variables

tuple SENSOR_TYPES
 

Detailed Description

Binary sensors for Yale Alarm.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.yale_smart_alarm.binary_sensor.async_setup_entry ( HomeAssistant  hass,
YaleConfigEntry  entry,
AddEntitiesCallback   async_add_entities 
)
Set up the Yale binary sensor entry.

Definition at line 46 of file binary_sensor.py.

Variable Documentation

◆ SENSOR_TYPES

tuple homeassistant.components.yale_smart_alarm.binary_sensor.SENSOR_TYPES
Initial value:
1 = (
2  BinarySensorEntityDescription(
3  key="acfail",
4  device_class=BinarySensorDeviceClass.PROBLEM,
5  entity_category=EntityCategory.DIAGNOSTIC,
6  translation_key="power_loss",
7  ),
8  BinarySensorEntityDescription(
9  key="battery",
10  device_class=BinarySensorDeviceClass.PROBLEM,
11  entity_category=EntityCategory.DIAGNOSTIC,
12  translation_key="battery",
13  ),
14  BinarySensorEntityDescription(
15  key="tamper",
16  device_class=BinarySensorDeviceClass.PROBLEM,
17  entity_category=EntityCategory.DIAGNOSTIC,
18  translation_key="tamper",
19  ),
20  BinarySensorEntityDescription(
21  key="jam",
22  device_class=BinarySensorDeviceClass.PROBLEM,
23  entity_category=EntityCategory.DIAGNOSTIC,
24  translation_key="jam",
25  ),
26 )

Definition at line 18 of file binary_sensor.py.