Wrap the time module.
Definition at line 310 of file __init__.py.
◆ __getattr__()
| def homeassistant.components.python_script.TimeWrapper.__getattr__ |
( |
|
self, |
|
|
|
attr |
|
) |
| |
Fetch an attribute from Time module.
Definition at line 326 of file __init__.py.
◆ sleep()
| def homeassistant.components.python_script.TimeWrapper.sleep |
( |
|
self, |
|
|
* |
args, |
|
|
** |
kwargs |
|
) |
| |
Sleep method that warns once.
Definition at line 316 of file __init__.py.
◆ warned
| bool homeassistant.components.python_script.TimeWrapper.warned = False |
|
static |
The documentation for this class was generated from the following file:
- core/homeassistant/components/python_script/__init__.py