core/homeassistant/util
rlippmann 1120246194
Deprecate relative_time() in favor of time_since() and time_until() (#111177)
* add time_since/time_until.  add deprecation of relative_time

* fix merge conflicts

* Apply suggestions from code review

* Update homeassistant/helpers/template.py

* Update homeassistant/helpers/template.py

* Update homeassistant/helpers/template.py

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-04-24 11:13:07 +02:00
..
yaml Enable Ruff B905 (#114197) 2024-04-14 00:14:26 -05:00
__init__.py
aiohttp.py
async_.py Add debug mode to catch unsafe thread operations using core helpers (#115390) 2024-04-24 03:36:05 +02:00
color.py
decorator.py
dt.py Deprecate relative_time() in favor of time_since() and time_until() (#111177) 2024-04-24 11:13:07 +02:00
enum.py
event_type.py Enable Ruff SLOT rules (#115043) 2024-04-09 18:57:27 -10:00
event_type.pyi Add improved typing for event fire and listen methods (#114906) 2024-04-07 13:28:24 -10:00
executor.py
file.py
frozen_dataclass_compat.py
json.py
language.py
limited_size_dict.py
location.py
logging.py Only work out job type once when setting up dispatcher (#116030) 2024-04-23 22:24:36 +02:00
loop.py
network.py
package.py
percentage.py
pil.py
process.py
read_only_dict.py
scaling.py
signal_type.py Add first batch of Ruff PYI rules (#115100) 2024-04-07 11:30:50 -10:00
ssl.py
thread.py
timeout.py Enable Ruff PYI036 (#115228) 2024-04-08 08:47:03 -10:00
ulid.py
unit_conversion.py
unit_system.py
uuid.py
variance.py