Home Assistant Unofficial Reference 2024.12.1
default_agent.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.conversation.default_agent.DefaultAgent
 
class  homeassistant.components.conversation.default_agent.IntentCache
 
class  homeassistant.components.conversation.default_agent.IntentCacheKey
 
class  homeassistant.components.conversation.default_agent.IntentCacheValue
 
class  homeassistant.components.conversation.default_agent.IntentMatchingStage
 
class  homeassistant.components.conversation.default_agent.LanguageIntents
 
class  homeassistant.components.conversation.default_agent.SentenceTriggerResult
 
class  homeassistant.components.conversation.default_agent.TriggerData
 

Namespaces

 homeassistant.components.conversation.default_agent
 

Functions

None homeassistant.components.conversation.default_agent._collect_list_references (Expression expression, set[str] list_names)
 
Iterable[str] homeassistant.components.conversation.default_agent._get_language_variations (str language)
 
tuple[ErrorKey, dict[str, Any]] homeassistant.components.conversation.default_agent._get_match_error_response (core.HomeAssistant hass, intent.MatchFailedError match_error)
 
tuple[ErrorKey, dict[str, Any]] homeassistant.components.conversation.default_agent._get_unmatched_response (RecognizeResult result)
 
ConversationResult homeassistant.components.conversation.default_agent._make_error_result (str language, intent.IntentResponseErrorCode error_code, str response_text, str|None conversation_id=None)
 
None homeassistant.components.conversation.default_agent.async_setup_default_agent (core.HomeAssistant hass, EntityComponent[ConversationEntity] entity_component, dict[str, Any] config_intents)
 
JsonObjectType homeassistant.components.conversation.default_agent.json_load (IO[str] fp)
 

Variables

string homeassistant.components.conversation.default_agent._DEFAULT_ERROR_TEXT = "Sorry, I couldn't understand that"
 
list homeassistant.components.conversation.default_agent._ENTITY_REGISTRY_UPDATE_FIELDS = ["aliases", "name", "original_name"]
 
 homeassistant.components.conversation.default_agent._LOGGER = logging.getLogger(__name__)
 
 homeassistant.components.conversation.default_agent.ERROR_SENTINEL = object()
 
string homeassistant.components.conversation.default_agent.METADATA_CUSTOM_FILE = "hass_custom_file"
 
string homeassistant.components.conversation.default_agent.METADATA_CUSTOM_SENTENCE = "hass_custom_sentence"
 
 homeassistant.components.conversation.default_agent.REGEX_TYPE = type(re.compile(""))
 
 homeassistant.components.conversation.default_agent.TRIGGER_CALLBACK_TYPE