Home Assistant Unofficial Reference 2024.12.1
binary_sensor.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.mqtt.binary_sensor.MqttBinarySensor
 

Namespaces

 homeassistant.components.mqtt.binary_sensor
 

Functions

None homeassistant.components.mqtt.binary_sensor.async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Variables

 homeassistant.components.mqtt.binary_sensor._LOGGER = logging.getLogger(__name__)
 
string homeassistant.components.mqtt.binary_sensor.CONF_EXPIRE_AFTER = "expire_after"
 
string homeassistant.components.mqtt.binary_sensor.CONF_OFF_DELAY = "off_delay"
 
bool homeassistant.components.mqtt.binary_sensor.DEFAULT_FORCE_UPDATE = False
 
string homeassistant.components.mqtt.binary_sensor.DEFAULT_NAME = "MQTT Binary sensor"
 
string homeassistant.components.mqtt.binary_sensor.DEFAULT_PAYLOAD_OFF = "OFF"
 
string homeassistant.components.mqtt.binary_sensor.DEFAULT_PAYLOAD_ON = "ON"
 
 homeassistant.components.mqtt.binary_sensor.DISCOVERY_SCHEMA = PLATFORM_SCHEMA_MODERN.extend({}, extra=vol.REMOVE_EXTRA)
 
int homeassistant.components.mqtt.binary_sensor.PARALLEL_UPDATES = 0
 
 homeassistant.components.mqtt.binary_sensor.PLATFORM_SCHEMA_MODERN