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

Classes

class  DeconzBinarySensor
 
class  DeconzBinarySensorDescription
 

Functions

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

Variables

string ATTR_ORIENTATION = "orientation"
 
string ATTR_TILTANGLE = "tiltangle"
 
string ATTR_VIBRATIONSTRENGTH = "vibrationstrength"
 
 None
 
tuple PROVIDES_EXTRA_ATTRIBUTES
 
 str
 

Detailed Description

Support for deCONZ binary sensors.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.deconz.binary_sensor.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up the deCONZ binary sensor.

Definition at line 161 of file binary_sensor.py.

Variable Documentation

◆ ATTR_ORIENTATION

string homeassistant.components.deconz.binary_sensor.ATTR_ORIENTATION = "orientation"

Definition at line 35 of file binary_sensor.py.

◆ ATTR_TILTANGLE

string homeassistant.components.deconz.binary_sensor.ATTR_TILTANGLE = "tiltangle"

Definition at line 36 of file binary_sensor.py.

◆ ATTR_VIBRATIONSTRENGTH

string homeassistant.components.deconz.binary_sensor.ATTR_VIBRATIONSTRENGTH = "vibrationstrength"

Definition at line 37 of file binary_sensor.py.

◆ None

homeassistant.components.deconz.binary_sensor.None
Class describing deCONZ binary sensor entities.

Definition at line 67 of file binary_sensor.py.

◆ PROVIDES_EXTRA_ATTRIBUTES

tuple homeassistant.components.deconz.binary_sensor.PROVIDES_EXTRA_ATTRIBUTES
Initial value:
1 = (
2  "alarm",
3  "carbon_monoxide",
4  "fire",
5  "flag",
6  "open",
7  "presence",
8  "vibration",
9  "water",
10 )

Definition at line 39 of file binary_sensor.py.

◆ str

homeassistant.components.deconz.binary_sensor.str

Definition at line 68 of file binary_sensor.py.