Classes | |
| class | Concord232ZoneSensor |
Functions | |
| def | get_opening_type (zone) |
| None | setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback add_entities, DiscoveryInfoType|None discovery_info=None) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| string | CONF_EXCLUDE_ZONES = "exclude_zones" |
| string | CONF_ZONE_TYPES = "zone_types" |
| string | DEFAULT_HOST = "localhost" |
| string | DEFAULT_NAME = "Alarm" |
| string | DEFAULT_PORT = "5007" |
| bool | DEFAULT_SSL = False |
| PLATFORM_SCHEMA | |
| SCAN_INTERVAL = datetime.timedelta(seconds=10) | |
| ZONE_TYPES_SCHEMA = vol.Schema({cv.positive_int: BINARY_SENSOR_DEVICE_CLASSES_SCHEMA}) | |
Support for exposing Concord232 elements as sensors.
| def homeassistant.components.concord232.binary_sensor.get_opening_type | ( | zone | ) |
Return the result of the type guessing from name.
Definition at line 97 of file binary_sensor.py.
| None homeassistant.components.concord232.binary_sensor.setup_platform | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| AddEntitiesCallback | add_entities, | ||
| DiscoveryInfoType | None | discovery_info = None |
||
| ) |
Set up the Concord232 binary sensor platform.
Definition at line 51 of file binary_sensor.py.
|
private |
Definition at line 25 of file binary_sensor.py.
| string homeassistant.components.concord232.binary_sensor.CONF_EXCLUDE_ZONES = "exclude_zones" |
Definition at line 27 of file binary_sensor.py.
| string homeassistant.components.concord232.binary_sensor.CONF_ZONE_TYPES = "zone_types" |
Definition at line 28 of file binary_sensor.py.
| string homeassistant.components.concord232.binary_sensor.DEFAULT_HOST = "localhost" |
Definition at line 30 of file binary_sensor.py.
| string homeassistant.components.concord232.binary_sensor.DEFAULT_NAME = "Alarm" |
Definition at line 31 of file binary_sensor.py.
| string homeassistant.components.concord232.binary_sensor.DEFAULT_PORT = "5007" |
Definition at line 32 of file binary_sensor.py.
| bool homeassistant.components.concord232.binary_sensor.DEFAULT_SSL = False |
Definition at line 33 of file binary_sensor.py.
| homeassistant.components.concord232.binary_sensor.PLATFORM_SCHEMA |
Definition at line 39 of file binary_sensor.py.
| homeassistant.components.concord232.binary_sensor.SCAN_INTERVAL = datetime.timedelta(seconds=10) |
Definition at line 35 of file binary_sensor.py.
| homeassistant.components.concord232.binary_sensor.ZONE_TYPES_SCHEMA = vol.Schema({cv.positive_int: BINARY_SENSOR_DEVICE_CLASSES_SCHEMA}) |
Definition at line 37 of file binary_sensor.py.