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

Public Member Functions

None run (self, Recorder instance)
 

Additional Inherited Members

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

Detailed Description

An object to insert into the recorder to trigger cleanup tasks.

Trigger cleanup tasks when auto purge is disabled.

Definition at line 150 of file tasks.py.

Member Function Documentation

◆ run()

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

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

Definition at line 156 of file tasks.py.


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