Home Assistant Unofficial Reference 2024.12.1
homeassistant.util.timeout._ZoneFreezeContext Class Reference

Public Member Functions

Self __aenter__ (self)
 
bool|None __aexit__ (self, type[BaseException]|None exc_type, BaseException|None exc_val, TracebackType|None exc_tb)
 
Self __enter__ (self)
 
bool|None __exit__ (self, type[BaseException]|None exc_type, BaseException|None exc_val, TracebackType|None exc_tb)
 
None __init__ (self, _ZoneTimeoutManager zone)
 

Private Member Functions

None _enter (self)
 
None _exit (self)
 

Detailed Description

Context manager that freezes a zone timeout.

Definition at line 94 of file timeout.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.util.timeout._ZoneFreezeContext.__init__ (   self,
_ZoneTimeoutManager  zone 
)
Initialize internal timeout context manager.

Definition at line 97 of file timeout.py.

Member Function Documentation

◆ __aenter__()

Self homeassistant.util.timeout._ZoneFreezeContext.__aenter__ (   self)

Definition at line 102 of file timeout.py.

◆ __aexit__()

bool | None homeassistant.util.timeout._ZoneFreezeContext.__aexit__ (   self,
type[BaseException] | None  exc_type,
BaseException | None  exc_val,
TracebackType | None  exc_tb 
)

Definition at line 106 of file timeout.py.

◆ __enter__()

Self homeassistant.util.timeout._ZoneFreezeContext.__enter__ (   self)

Definition at line 115 of file timeout.py.

◆ __exit__()

bool | None homeassistant.util.timeout._ZoneFreezeContext.__exit__ (   self,
type[BaseException] | None  exc_type,
BaseException | None  exc_val,
TracebackType | None  exc_tb 
)

Definition at line 119 of file timeout.py.

◆ _enter()

None homeassistant.util.timeout._ZoneFreezeContext._enter (   self)
private
Run freeze.

Definition at line 128 of file timeout.py.

◆ _exit()

None homeassistant.util.timeout._ZoneFreezeContext._exit (   self)
private
Finish freeze.

Definition at line 134 of file timeout.py.


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