Home Assistant Unofficial Reference 2024.12.1
const.py File Reference

Go to the source code of this file.

Namespaces

 homeassistant.components.assist_pipeline.const
 

Variables

int homeassistant.components.assist_pipeline.const.BYTES_PER_CHUNK = SAMPLES_PER_CHUNK * SAMPLE_WIDTH * SAMPLE_CHANNELS
 
string homeassistant.components.assist_pipeline.const.CONF_DEBUG_RECORDING_DIR = "debug_recording_dir"
 
string homeassistant.components.assist_pipeline.const.DATA_CONFIG = f"{DOMAIN}.config"
 
string homeassistant.components.assist_pipeline.const.DATA_LAST_WAKE_UP = f"{DOMAIN}.last_wake_up"
 
string homeassistant.components.assist_pipeline.const.DATA_MIGRATIONS = f"{DOMAIN}_migrations"
 
int homeassistant.components.assist_pipeline.const.DEFAULT_PIPELINE_TIMEOUT = 60 * 5
 
int homeassistant.components.assist_pipeline.const.DEFAULT_WAKE_WORD_TIMEOUT = 3
 
string homeassistant.components.assist_pipeline.const.DOMAIN = "assist_pipeline"
 
string homeassistant.components.assist_pipeline.const.EVENT_RECORDING = f"{DOMAIN}_recording"
 
int homeassistant.components.assist_pipeline.const.MS_PER_CHUNK = 10
 
string homeassistant.components.assist_pipeline.const.OPTION_PREFERRED = "preferred"
 
int homeassistant.components.assist_pipeline.const.SAMPLE_CHANNELS = 1
 
int homeassistant.components.assist_pipeline.const.SAMPLE_RATE = 16000
 
int homeassistant.components.assist_pipeline.const.SAMPLE_WIDTH = 2
 
int homeassistant.components.assist_pipeline.const.SAMPLES_PER_CHUNK = SAMPLE_RATE // (1000 // MS_PER_CHUNK)
 
int homeassistant.components.assist_pipeline.const.WAKE_WORD_COOLDOWN = 2