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

Public Member Functions

None __init__ (self, bool debug)
 
str loop_name (self)
 
asyncio.AbstractEventLoop new_event_loop (self)
 

Public Attributes

 debug
 

Detailed Description

Event loop policy for Home Assistant.

Definition at line 59 of file runner.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.runner.HassEventLoopPolicy.__init__ (   self,
bool  debug 
)
Init the event loop policy.

Definition at line 62 of file runner.py.

Member Function Documentation

◆ loop_name()

str homeassistant.runner.HassEventLoopPolicy.loop_name (   self)
Return name of the loop.

Definition at line 68 of file runner.py.

◆ new_event_loop()

asyncio.AbstractEventLoop homeassistant.runner.HassEventLoopPolicy.new_event_loop (   self)
Get the event loop.

Definition at line 72 of file runner.py.

Member Data Documentation

◆ debug

homeassistant.runner.HassEventLoopPolicy.debug

Definition at line 65 of file runner.py.


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