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

Classes

class  MinutPointBinarySensor
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
dictionary DEVICES
 

Detailed Description

Support for Minut Point binary sensors.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.point.binary_sensor.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up a Point's binary sensors based on a config entry.

Definition at line 43 of file binary_sensor.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.point.binary_sensor._LOGGER = logging.getLogger(__name__)
private

Definition at line 22 of file binary_sensor.py.

◆ DEVICES

dictionary homeassistant.components.point.binary_sensor.DEVICES
Initial value:
1 = {
2  "alarm": {"icon": "mdi:alarm-bell"},
3  "battery": {"device_class": BinarySensorDeviceClass.BATTERY},
4  "button_press": {"icon": "mdi:gesture-tap-button"},
5  "cold": {"device_class": BinarySensorDeviceClass.COLD},
6  "connectivity": {"device_class": BinarySensorDeviceClass.CONNECTIVITY},
7  "dry": {"icon": "mdi:water"},
8  "glass": {"icon": "mdi:window-closed-variant"},
9  "heat": {"device_class": BinarySensorDeviceClass.HEAT},
10  "moisture": {"device_class": BinarySensorDeviceClass.MOISTURE},
11  "motion": {"device_class": BinarySensorDeviceClass.MOTION},
12  "noise": {"icon": "mdi:volume-high"},
13  "sound": {"device_class": BinarySensorDeviceClass.SOUND},
14  "tamper_old": {"icon": "mdi:shield-alert"},
15  "tamper": {"icon": "mdi:shield-alert"},
16 }

Definition at line 25 of file binary_sensor.py.