Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.intent Namespace Reference

Namespaces

 const
 
 timers
 

Classes

class  GetCurrentDateIntentHandler
 
class  GetCurrentTimeIntentHandler
 
class  GetStateIntentHandler
 
class  HelloIntentHandler
 
class  IntentHandleView
 
class  IntentPlatformProtocol
 
class  NevermindIntentHandler
 
class  OnOffIntentHandler
 
class  SetPositionIntentHandler
 

Functions

None _async_process_intent (HomeAssistant hass, str domain, IntentPlatformProtocol platform)
 
bool async_setup (HomeAssistant hass, ConfigType config)
 

Variables

list __all__
 
 _LOGGER = logging.getLogger(__name__)
 
 CONFIG_SCHEMA = cv.empty_config_schema(DOMAIN)
 
dictionary ONOFF_DEVICE_CLASSES
 

Detailed Description

The Intent integration.

Function Documentation

◆ _async_process_intent()

None homeassistant.components.intent._async_process_intent ( HomeAssistant  hass,
str  domain,
IntentPlatformProtocol   platform 
)
private
Process the intents of an integration.

Definition at line 437 of file __init__.py.

◆ async_setup()

bool homeassistant.components.intent.async_setup ( HomeAssistant  hass,
ConfigType  config 
)
Set up the Intent component.

Definition at line 83 of file __init__.py.

Variable Documentation

◆ __all__

list homeassistant.components.intent.__all__
private
Initial value:
1 = [
2  "async_register_timer_handler",
3  "async_device_supports_timers",
4  "TimerInfo",
5  "TimerEventType",
6  "DOMAIN",
7 ]

Definition at line 67 of file __init__.py.

◆ _LOGGER

homeassistant.components.intent._LOGGER = logging.getLogger(__name__)
private

Definition at line 63 of file __init__.py.

◆ CONFIG_SCHEMA

homeassistant.components.intent.CONFIG_SCHEMA = cv.empty_config_schema(DOMAIN)

Definition at line 65 of file __init__.py.

◆ ONOFF_DEVICE_CLASSES

dictionary homeassistant.components.intent.ONOFF_DEVICE_CLASSES
Initial value:
1 = {
2  CoverDeviceClass,
3  ValveDeviceClass,
4  SwitchDeviceClass,
5  MediaPlayerDeviceClass,
6 }

Definition at line 75 of file __init__.py.