Home Assistant Unofficial Reference 2024.12.1
binary_sensor.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.amcrest.binary_sensor.AmcrestBinarySensor
 
class  homeassistant.components.amcrest.binary_sensor.AmcrestSensorEntityDescription
 

Namespaces

 homeassistant.components.amcrest.binary_sensor
 

Functions

None homeassistant.components.amcrest.binary_sensor.async_setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback async_add_entities, DiscoveryInfoType|None discovery_info=None)
 
list[str] homeassistant.components.amcrest.binary_sensor.check_binary_sensors (list[str] value)
 

Variables

dictionary homeassistant.components.amcrest.binary_sensor._AUDIO_DETECTED_EVENT_CODES = {"AudioMutation", "AudioIntensity"}
 
string homeassistant.components.amcrest.binary_sensor._AUDIO_DETECTED_KEY = "audio_detected"
 
string homeassistant.components.amcrest.binary_sensor._AUDIO_DETECTED_NAME = "Audio Detected"
 
string homeassistant.components.amcrest.binary_sensor._AUDIO_DETECTED_POLLED_KEY = "audio_detected_polled"
 
string homeassistant.components.amcrest.binary_sensor._CROSSLINE_DETECTED_EVENT_CODE = "CrossLineDetection"
 
string homeassistant.components.amcrest.binary_sensor._CROSSLINE_DETECTED_KEY = "crossline_detected"
 
string homeassistant.components.amcrest.binary_sensor._CROSSLINE_DETECTED_NAME = "CrossLine Detected"
 
string homeassistant.components.amcrest.binary_sensor._CROSSLINE_DETECTED_POLLED_KEY = "crossline_detected_polled"
 
list homeassistant.components.amcrest.binary_sensor._EXCLUSIVE_OPTIONS
 
 homeassistant.components.amcrest.binary_sensor._LOGGER = logging.getLogger(__name__)
 
string homeassistant.components.amcrest.binary_sensor._MOTION_DETECTED_EVENT_CODE = "VideoMotion"
 
string homeassistant.components.amcrest.binary_sensor._MOTION_DETECTED_KEY = "motion_detected"
 
string homeassistant.components.amcrest.binary_sensor._MOTION_DETECTED_NAME = "Motion Detected"
 
string homeassistant.components.amcrest.binary_sensor._MOTION_DETECTED_POLLED_KEY = "motion_detected_polled"
 
string homeassistant.components.amcrest.binary_sensor._ONLINE_KEY = "online"
 
 homeassistant.components.amcrest.binary_sensor._ONLINE_SCAN_INTERVAL = timedelta(seconds=60 - BINARY_SENSOR_SCAN_INTERVAL_SECS)
 
string homeassistant.components.amcrest.binary_sensor._UPDATE_MSG = "Updating %s binary sensor"
 
list homeassistant.components.amcrest.binary_sensor.BINARY_SENSOR_KEYS = [description.key for description in BINARY_SENSORS]
 
 homeassistant.components.amcrest.binary_sensor.SCAN_INTERVAL = timedelta(seconds=BINARY_SENSOR_SCAN_INTERVAL_SECS)