Home Assistant Unofficial Reference 2024.12.1
homeassistant.core.EventOrigin Class Reference
Inheritance diagram for homeassistant.core.EventOrigin:
[legend]
Collaboration diagram for homeassistant.core.EventOrigin:
[legend]

Public Member Functions

str __str__ (self)
 
int idx (self)
 

Static Public Attributes

 local
 
 remote
 

Detailed Description

Represent the origin of an event.

Definition at line 1314 of file core.py.

Member Function Documentation

◆ __str__()

str homeassistant.core.EventOrigin.__str__ (   self)
Return the event.

Definition at line 1320 of file core.py.

◆ idx()

int homeassistant.core.EventOrigin.idx (   self)
Return the index of the origin.

Definition at line 1325 of file core.py.

Member Data Documentation

◆ local

homeassistant.core.EventOrigin.local
static

Definition at line 1317 of file core.py.

◆ remote

homeassistant.core.EventOrigin.remote
static

Definition at line 1318 of file core.py.


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