Home Assistant Unofficial Reference 2024.12.1
binary_sensor.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.template.binary_sensor.AutoOffExtraStoredData
 
class  homeassistant.components.template.binary_sensor.BinarySensorTemplate
 
class  homeassistant.components.template.binary_sensor.TriggerBinarySensorEntity
 

Namespaces

 homeassistant.components.template.binary_sensor
 

Functions

None homeassistant.components.template.binary_sensor._async_create_template_tracking_entities (AddEntitiesCallback async_add_entities, HomeAssistant hass, list[dict] definitions, str|None unique_id_prefix)
 
BinarySensorTemplate homeassistant.components.template.binary_sensor.async_create_preview_binary_sensor (HomeAssistant hass, str name, dict[str, Any] config)
 
None homeassistant.components.template.binary_sensor.async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 
None homeassistant.components.template.binary_sensor.async_setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback async_add_entities, DiscoveryInfoType|None discovery_info=None)
 
list[dict] homeassistant.components.template.binary_sensor.rewrite_legacy_to_modern_conf (HomeAssistant hass, dict[str, dict] cfg)
 

Variables

 homeassistant.components.template.binary_sensor.BINARY_SENSOR_CONFIG_SCHEMA
 
 homeassistant.components.template.binary_sensor.BINARY_SENSOR_SCHEMA
 
string homeassistant.components.template.binary_sensor.CONF_ATTRIBUTE_TEMPLATES = "attribute_templates"
 
string homeassistant.components.template.binary_sensor.CONF_AUTO_OFF = "auto_off"
 
string homeassistant.components.template.binary_sensor.CONF_DELAY_OFF = "delay_off"
 
string homeassistant.components.template.binary_sensor.CONF_DELAY_ON = "delay_on"
 
 homeassistant.components.template.binary_sensor.LEGACY_BINARY_SENSOR_SCHEMA
 
dictionary homeassistant.components.template.binary_sensor.LEGACY_FIELDS
 
 homeassistant.components.template.binary_sensor.PLATFORM_SCHEMA