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

Classes

class  W800rf32BinarySensor
 

Functions

None async_setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback add_entities, DiscoveryInfoType|None discovery_info=None)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string CONF_OFF_DELAY = "off_delay"
 
 PLATFORM_SCHEMA
 

Detailed Description

Support for w800rf32 binary sensors.

Function Documentation

◆ async_setup_platform()

None homeassistant.components.w800rf32.binary_sensor.async_setup_platform ( HomeAssistant  hass,
ConfigType  config,
AddEntitiesCallback  add_entities,
DiscoveryInfoType | None   discovery_info = None 
)
Set up the Binary Sensor platform to w800rf32.

Definition at line 46 of file binary_sensor.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 24 of file binary_sensor.py.

◆ CONF_OFF_DELAY

string homeassistant.components.w800rf32.binary_sensor.CONF_OFF_DELAY = "off_delay"

Definition at line 26 of file binary_sensor.py.

◆ PLATFORM_SCHEMA

homeassistant.components.w800rf32.binary_sensor.PLATFORM_SCHEMA
Initial value:
1 = BINARY_SENSOR_PLATFORM_SCHEMA.extend(
2  {
3  vol.Required(CONF_DEVICES): {
4  cv.string: vol.Schema(
5  {
6  vol.Optional(CONF_NAME): cv.string,
7  vol.Optional(CONF_DEVICE_CLASS): DEVICE_CLASSES_SCHEMA,
8  vol.Optional(CONF_OFF_DELAY): vol.All(
9  cv.time_period, cv.positive_timedelta
10  ),
11  }
12  )
13  }
14  },
15  extra=vol.ALLOW_EXTRA,
16 )

Definition at line 28 of file binary_sensor.py.