hass-core/homeassistant
J. Nick Koston 8d3f693907
Avoid useless time fetch in DataUpdateCoordinator (#107999)
* Avoid useless time fetch in DataUpdateCoordinator

Since we used the async_call_at helper, it would always call dt_util.utcnow()
to feed the _handle_refresh_interval which threw it away. This meant we had
to fetch time twice as much as needed for each update

* tweak

* compat

* adjust comment
2024-01-13 23:40:07 -05:00
..
auth Refactor User attribute caching to be safer and more efficient (#96723) 2024-01-13 15:10:50 -05:00
backports Update mypy to 1.6.0 (#101780) 2023-10-11 13:25:11 +02:00
brands Add Rainforest RAVEn integration (#80061) 2024-01-05 14:00:54 +01:00
components Break long lines in powerwall integration (#108002) 2024-01-14 04:22:17 +01:00
generated Add myUplink integration (#86522) 2024-01-12 12:17:07 +01:00
helpers Avoid useless time fetch in DataUpdateCoordinator (#107999) 2024-01-13 23:40:07 -05:00
scripts Remove logic converting empty or falsy YAML to empty dict (#103912) 2023-12-05 18:08:11 +01:00
util Enable strict typing for ios (#107382) 2024-01-12 14:43:17 +01:00
__init__.py
__main__.py Make it possible to restart core in safe mode (#102606) 2023-10-24 14:47:58 +02:00
block_async_io.py
bootstrap.py Signficantly reduce executor contention during bootstrap (#107312) 2024-01-07 22:55:40 -05:00
config.py Deprecate legacy_templates (#105556) 2023-12-22 00:42:16 +01:00
config_entries.py Refactor config entry storage and index (#107590) 2024-01-13 10:34:15 -10:00
const.py Include deprecated constants in wildcard imports (#107114) 2024-01-05 11:46:45 +01:00
core.py Use identity checks for CoreState (#107846) 2024-01-12 10:21:26 +01:00
data_entry_flow.py Warn if integrations call async_show_progress without passing a task (#107796) 2024-01-13 11:56:05 +01:00
exceptions.py Raise and suppress stack trace when reloading yaml fails (#102410) 2023-11-24 17:34:45 +01:00
loader.py Reduce zeroconf matcher complexity (#105880) 2023-12-23 11:04:05 +01:00
package_constraints.txt Bump lxml to 5.1.0 (#106696) 2024-01-13 21:08:42 -05:00
requirements.py Signficantly reduce executor contention during bootstrap (#107312) 2024-01-07 22:55:40 -05:00
runner.py Make it possible to restart core in safe mode (#102606) 2023-10-24 14:47:58 +02:00
setup.py Use modern platform path when reporting platform config errors (#104238) 2023-12-05 15:06:13 +01:00
strings.json Improve OAuth error handling in configuration flows (#103157) 2023-11-11 11:02:51 +01:00