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

Classes

class  DevoloBinaryDeviceEntity
 
class  DevoloRemoteControl
 

Functions

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

Variables

dictionary DEVICE_CLASS_MAPPING
 

Detailed Description

Platform for binary sensor integration.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.devolo_home_control.binary_sensor.async_setup_entry ( HomeAssistant  hass,
DevoloHomeControlConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Get all binary sensor and multi level sensor devices and setup them via config entry.

Definition at line 29 of file binary_sensor.py.

Variable Documentation

◆ DEVICE_CLASS_MAPPING

dictionary homeassistant.components.devolo_home_control.binary_sensor.DEVICE_CLASS_MAPPING
Initial value:
1 = {
2  "Water alarm": BinarySensorDeviceClass.MOISTURE,
3  "Home Security": BinarySensorDeviceClass.MOTION,
4  "Smoke Alarm": BinarySensorDeviceClass.SMOKE,
5  "Heat Alarm": BinarySensorDeviceClass.HEAT,
6  "door": BinarySensorDeviceClass.DOOR,
7  "overload": BinarySensorDeviceClass.SAFETY,
8 }

Definition at line 19 of file binary_sensor.py.