Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.api.APIStatesView Class Reference
Inheritance diagram for homeassistant.components.api.APIStatesView:
[legend]
Collaboration diagram for homeassistant.components.api.APIStatesView:
[legend]

Public Member Functions

web.Response get (self, web.Request request)
 

Static Public Attributes

string name = "api:states"
 
 url = URL_API_STATES
 

Detailed Description

View to handle States requests.

Definition at line 207 of file __init__.py.

Member Function Documentation

◆ get()

web.Response homeassistant.components.api.APIStatesView.get (   self,
web.Request  request 
)
Get current states.

Definition at line 214 of file __init__.py.

Member Data Documentation

◆ name

string homeassistant.components.api.APIStatesView.name = "api:states"
static

Definition at line 211 of file __init__.py.

◆ url

homeassistant.components.api.APIStatesView.url = URL_API_STATES
static

Definition at line 210 of file __init__.py.


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