Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.weather.intent.GetWeatherIntent Class Reference
Inheritance diagram for homeassistant.components.weather.intent.GetWeatherIntent:
[legend]
Collaboration diagram for homeassistant.components.weather.intent.GetWeatherIntent:
[legend]

Public Member Functions

intent.IntentResponse async_handle (self, intent.Intent intent_obj)
 

Static Public Attributes

string description = "Gets the current weather"
 
 intent_type = INTENT_GET_WEATHER
 
dictionary platforms = {DOMAIN}
 
dictionary slot_schema = {vol.Optional("name"): intent.non_empty_string}
 

Detailed Description

Handle GetWeather intents.

Definition at line 18 of file intent.py.

Member Function Documentation

◆ async_handle()

intent.IntentResponse homeassistant.components.weather.intent.GetWeatherIntent.async_handle (   self,
intent.Intent  intent_obj 
)
Handle the intent.

Definition at line 26 of file intent.py.

Member Data Documentation

◆ description

string homeassistant.components.weather.intent.GetWeatherIntent.description = "Gets the current weather"
static

Definition at line 22 of file intent.py.

◆ intent_type

homeassistant.components.weather.intent.GetWeatherIntent.intent_type = INTENT_GET_WEATHER
static

Definition at line 21 of file intent.py.

◆ platforms

dictionary homeassistant.components.weather.intent.GetWeatherIntent.platforms = {DOMAIN}
static

Definition at line 24 of file intent.py.

◆ slot_schema

dictionary homeassistant.components.weather.intent.GetWeatherIntent.slot_schema = {vol.Optional("name"): intent.non_empty_string}
static

Definition at line 23 of file intent.py.


The documentation for this class was generated from the following file: