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

Classes

class  InsteonBinarySensorEntity
 

Functions

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

Variables

dictionary SENSOR_TYPES
 

Detailed Description

Support for INSTEON dimmers via PowerLinc Modem.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.insteon.binary_sensor.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up the Insteon binary sensors from a config entry.

Definition at line 46 of file binary_sensor.py.

Variable Documentation

◆ SENSOR_TYPES

dictionary homeassistant.components.insteon.binary_sensor.SENSOR_TYPES
Initial value:
1 = {
2  OPEN_CLOSE_SENSOR: BinarySensorDeviceClass.OPENING,
3  MOTION_SENSOR: BinarySensorDeviceClass.MOTION,
4  DOOR_SENSOR: BinarySensorDeviceClass.DOOR,
5  LEAK_SENSOR_WET: BinarySensorDeviceClass.MOISTURE,
6  LIGHT_SENSOR: BinarySensorDeviceClass.LIGHT,
7  LOW_BATTERY: BinarySensorDeviceClass.BATTERY,
8  CO_SENSOR: BinarySensorDeviceClass.GAS,
9  SMOKE_SENSOR: BinarySensorDeviceClass.SMOKE,
10  TEST_SENSOR: BinarySensorDeviceClass.SAFETY,
11  SENSOR_MALFUNCTION: BinarySensorDeviceClass.PROBLEM,
12  HEARTBEAT: BinarySensorDeviceClass.PROBLEM,
13 }

Definition at line 31 of file binary_sensor.py.