Home Assistant Unofficial Reference 2024.12.1
siren.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.mqtt.siren.MqttSiren
 

Namespaces

 homeassistant.components.mqtt.siren
 

Functions

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

Variables

 homeassistant.components.mqtt.siren._LOGGER = logging.getLogger(__name__)
 
string homeassistant.components.mqtt.siren.CONF_AVAILABLE_TONES = "available_tones"
 
string homeassistant.components.mqtt.siren.CONF_COMMAND_OFF_TEMPLATE = "command_off_template"
 
string homeassistant.components.mqtt.siren.CONF_STATE_OFF = "state_off"
 
string homeassistant.components.mqtt.siren.CONF_STATE_ON = "state_on"
 
string homeassistant.components.mqtt.siren.CONF_SUPPORT_DURATION = "support_duration"
 
string homeassistant.components.mqtt.siren.CONF_SUPPORT_VOLUME_SET = "support_volume_set"
 
string homeassistant.components.mqtt.siren.DEFAULT_NAME = "MQTT Siren"
 
string homeassistant.components.mqtt.siren.DEFAULT_PAYLOAD_OFF = "OFF"
 
string homeassistant.components.mqtt.siren.DEFAULT_PAYLOAD_ON = "ON"
 
 homeassistant.components.mqtt.siren.DISCOVERY_SCHEMA = vol.All(PLATFORM_SCHEMA_MODERN.extend({}, extra=vol.REMOVE_EXTRA))
 
string homeassistant.components.mqtt.siren.ENTITY_ID_FORMAT = siren.DOMAIN + ".{}"
 
 homeassistant.components.mqtt.siren.MQTT_SIREN_ATTRIBUTES_BLOCKED
 
int homeassistant.components.mqtt.siren.PARALLEL_UPDATES = 0
 
 homeassistant.components.mqtt.siren.PLATFORM_SCHEMA_MODERN
 
string homeassistant.components.mqtt.siren.STATE = "state"
 
dictionary homeassistant.components.mqtt.siren.SUPPORTED_ATTRIBUTES
 
 homeassistant.components.mqtt.siren.SUPPORTED_BASE = SirenEntityFeature.TURN_OFF | SirenEntityFeature.TURN_ON