Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.recorder.tasks.CommitTask Class Reference
Inheritance diagram for homeassistant.components.recorder.tasks.CommitTask:
[legend]
Collaboration diagram for homeassistant.components.recorder.tasks.CommitTask:
[legend]

Public Member Functions

None run (self, Recorder instance)
 

Static Public Attributes

bool commit_before = False
 
- Static Public Attributes inherited from homeassistant.components.recorder.tasks.RecorderTask
bool commit_before = True
 

Detailed Description

Commit the event session.

Definition at line 288 of file tasks.py.

Member Function Documentation

◆ run()

None homeassistant.components.recorder.tasks.CommitTask.run (   self,
Recorder  instance 
)
Handle the task.

Reimplemented from homeassistant.components.recorder.tasks.RecorderTask.

Definition at line 293 of file tasks.py.

Member Data Documentation

◆ commit_before

bool homeassistant.components.recorder.tasks.CommitTask.commit_before = False
static

Definition at line 291 of file tasks.py.


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