Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.google_assistant.error.ChallengeNeeded Class Reference
Inheritance diagram for homeassistant.components.google_assistant.error.ChallengeNeeded:
[legend]
Collaboration diagram for homeassistant.components.google_assistant.error.ChallengeNeeded:
[legend]

Public Member Functions

def __init__ (self, challenge_type)
 
def to_response (self)
 
- Public Member Functions inherited from homeassistant.components.google_assistant.error.SmartHomeError
def __init__ (self, code, msg)
 

Public Attributes

 challenge_type
 
- Public Attributes inherited from homeassistant.components.google_assistant.error.SmartHomeError
 code
 

Detailed Description

Google Assistant Smart Home errors.

https://developers.google.com/actions/smarthome/create-app#error_responses

Definition at line 22 of file error.py.

Constructor & Destructor Documentation

◆ __init__()

def homeassistant.components.google_assistant.error.ChallengeNeeded.__init__ (   self,
  challenge_type 
)
Initialize challenge needed error.

Definition at line 28 of file error.py.

Member Function Documentation

◆ to_response()

def homeassistant.components.google_assistant.error.ChallengeNeeded.to_response (   self)
Convert to a response format.

Reimplemented from homeassistant.components.google_assistant.error.SmartHomeError.

Definition at line 33 of file error.py.

Member Data Documentation

◆ challenge_type

homeassistant.components.google_assistant.error.ChallengeNeeded.challenge_type

Definition at line 31 of file error.py.


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