Public Attributes | |
| description | |
| device_classes | |
| intent_type | |
| platforms | |
| required_domains | |
| required_features | |
| required_states | |
| speech | |
Static Public Attributes | |
| float | |
Static Public Attributes inherited from homeassistant.helpers.intent.IntentHandler | |
| None | |
Private Member Functions | |
| None | _run_then_background (self, asyncio.Task[Any] task) |
Service Intent handler registration (dynamic). Service specific intent handler that calls a service by name/entity_id.
| None homeassistant.helpers.intent.DynamicServiceIntentHandler.__init__ | ( | self, | |
| str | intent_type, | ||
| str | None | speech = None, |
||
| _IntentSlotsType | None | required_slots = None, |
||
| _IntentSlotsType | None | optional_slots = None, |
||
| set[str] | None | required_domains = None, |
||
| int | None | required_features = None, |
||
| set[str] | None | required_states = None, |
||
| str | None | description = None, |
||
| set[str] | None | platforms = None, |
||
| set[type[StrEnum]] | None | device_classes = None |
||
| ) |
|
private |
| IntentResponse homeassistant.helpers.intent.DynamicServiceIntentHandler.async_handle | ( | self, | |
| Intent | intent_obj | ||
| ) |
Handle the hass intent.
Reimplemented from homeassistant.helpers.intent.IntentHandler.
| IntentResponse homeassistant.helpers.intent.DynamicServiceIntentHandler.async_handle_states | ( | self, | |
| Intent | intent_obj, | ||
| MatchTargetsResult | match_result, | ||
| MatchTargetsConstraints | match_constraints, | ||
| MatchTargetsPreferences | None | match_preferences = None |
||
| ) |
| tuple[str, str] homeassistant.helpers.intent.DynamicServiceIntentHandler.get_domain_and_service | ( | self, | |
| Intent | intent_obj, | ||
| State | state | ||
| ) |
Get the domain and service name to call.
Reimplemented in homeassistant.helpers.intent.ServiceIntentHandler.
| dict homeassistant.helpers.intent.DynamicServiceIntentHandler.slot_schema | ( | self | ) |
Return a slot schema.
Reimplemented from homeassistant.helpers.intent.IntentHandler.
| homeassistant.helpers.intent.DynamicServiceIntentHandler.description |
| homeassistant.helpers.intent.DynamicServiceIntentHandler.device_classes |
|
static |
| homeassistant.helpers.intent.DynamicServiceIntentHandler.intent_type |
| homeassistant.helpers.intent.DynamicServiceIntentHandler.platforms |
| homeassistant.helpers.intent.DynamicServiceIntentHandler.required_domains |
| homeassistant.helpers.intent.DynamicServiceIntentHandler.required_features |
| homeassistant.helpers.intent.DynamicServiceIntentHandler.required_states |
| homeassistant.helpers.intent.DynamicServiceIntentHandler.speech |