Home Assistant Unofficial Reference 2024.12.1
homeassistant.helpers.event._TrackTimeInterval Class Reference

Public Member Functions

None async_attach (self)
 
None async_cancel (self)
 

Static Public Attributes

 None
 

Private Member Functions

None _interval_listener (self, Any _)
 
None _schedule_timer (self)
 

Private Attributes

 _run_job
 
 _timer_handle
 
 _track_job
 

Detailed Description

Helper class to help listen to time interval events.

Definition at line 1617 of file event.py.

Member Function Documentation

◆ _interval_listener()

None homeassistant.helpers.event._TrackTimeInterval._interval_listener (   self,
Any  _ 
)
private
Handle elapsed intervals.

Definition at line 1655 of file event.py.

◆ _schedule_timer()

None homeassistant.helpers.event._TrackTimeInterval._schedule_timer (   self)
private
Schedule the timer.

Definition at line 1644 of file event.py.

◆ async_attach()

None homeassistant.helpers.event._TrackTimeInterval.async_attach (   self)
Initialize track job.

Definition at line 1629 of file event.py.

◆ async_cancel()

None homeassistant.helpers.event._TrackTimeInterval.async_cancel (   self)
Cancel the call_at.

Definition at line 1663 of file event.py.

Member Data Documentation

◆ _run_job

homeassistant.helpers.event._TrackTimeInterval._run_job
private

Definition at line 1637 of file event.py.

◆ _timer_handle

homeassistant.helpers.event._TrackTimeInterval._timer_handle
private

Definition at line 1650 of file event.py.

◆ _track_job

homeassistant.helpers.event._TrackTimeInterval._track_job
private

Definition at line 1631 of file event.py.

◆ None

homeassistant.helpers.event._TrackTimeInterval.None
static

Definition at line 1625 of file event.py.


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