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

Public Member Functions

web.Response post (self, web.Request request, str event_type)
 

Static Public Attributes

string name = "api:event"
 
string url = "/api/events/{event_type}"
 

Detailed Description

View to handle Event requests.

Definition at line 320 of file __init__.py.

Member Function Documentation

◆ post()

web.Response homeassistant.components.api.APIEventView.post (   self,
web.Request  request,
str  event_type 
)
Fire events.

Definition at line 327 of file __init__.py.

Member Data Documentation

◆ name

string homeassistant.components.api.APIEventView.name = "api:event"
static

Definition at line 324 of file __init__.py.

◆ url

string homeassistant.components.api.APIEventView.url = "/api/events/{event_type}"
static

Definition at line 323 of file __init__.py.


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