Steven B.
59e5eb9a1c
Always use uv from virtual environment at runtime ( #128371 )
2024-10-16 19:42:25 +02:00
Erik Montnemery
0956dbb578
Rename `UnitOfConductivity` enum members ( #127919 )
...
* Rename UnitOfConductivity enum members
* Update test snapshots
2024-10-08 14:44:01 +02:00
J. Nick Koston
0f29fd3e10
Switch to using fast cached_property implementation in propcache ( #127339 )
2024-10-03 13:11:02 -05:00
Michael
ffa6b5fcb2
Use two words for Nautical miles unit ( #126905 )
2024-09-27 13:16:13 +02:00
Michael
26b5dab12b
Add `nmi` (nautical miles) as valid distance unit ( #124723 )
2024-09-27 10:40:59 +02:00
starkillerOG
69ecdda5f5
Add SSL Cipher option to aiohttp async_get_clientsession ( #126317 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-09-24 21:31:52 +02:00
J. Nick Koston
31200040da
Bump aiohttp to 3.10.6rc2 ( #126468 )
2024-09-24 08:51:08 +02:00
Trevor Schirmer
96b7fc9a75
Add mm/s and in/s As Unit Of Speed ( #125044 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-09-22 09:01:46 -05:00
Alberto Montes
28ece89272
Update string formatting to use f-string on core codebase ( #125988 )
...
* Update string formatting to use f-string on core codebase
* Small change given review feedback
2024-09-19 14:31:13 +02:00
Robert Resch
d9812f0d48
Fix uv installing in user site packages ( #125808 )
2024-09-15 14:53:45 +02:00
Window-Hero
d292f2b9b4
Update pil util font height ( #123512 )
...
* Update pil.py
The default font size is far too small and will frequently be rendered completely unreadable by JPEG compression. This is much more consistently readable, and properly specifies the font size in the draw.text function rather than relying on it being 8.
* Update pil.py
Converted to ruff format
* Update pil.py
Trying to get ruff formatting
* Update pil.py
fixed whitespace
* Update pil.py
removed trailing space
2024-09-15 10:31:56 +02:00
Robert Resch
7555f209b6
Use uv at runtime too ( #125110 )
2024-09-11 09:43:26 +02:00
Sergey Dudanov
dcd7830a35
Add calories to energy sensor device class ( #122796 )
...
* added calories to energy class
* changes
* temporarily solving the problem with conversion accuracy
* add tests
* added calories to energy class
* changes
* add tests
* Update homeassistant/util/unit_conversion.py
Co-authored-by: Robert Resch <robert@resch.dev>
* Update homeassistant/util/unit_conversion.py
Co-authored-by: Robert Resch <robert@resch.dev>
* apply suggestions
* Update homeassistant/util/unit_conversion.py
---------
Co-authored-by: Robert Resch <robert@resch.dev>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-09-10 12:22:15 +02:00
J. Nick Koston
0a11acf7ae
Replace linear search in unit_system with dict lookup ( #125485 )
2024-09-07 23:49:44 -04:00
Marc Mueller
5cd8e4ab7e
Update mypy-dev to 1.12.0a3 ( #124939 )
...
* Update mypy-dev to 1.12.0a3
* Fix
2024-08-31 19:34:41 +02:00
Erik Montnemery
a4e9e4b23b
Tweak exception message in yaml loader ( #124841 )
2024-08-29 11:31:19 +02:00
Sergey Dudanov
4108b7ada6
Remove unused normalized units from unit converters ( #122797 )
...
remove unused normalized units in unit converters
2024-08-28 08:45:40 +02:00
J. Nick Koston
6f66f37fc7
Shutdown database engine before waiting for executor shutdown ( #117339 )
...
* Close database connection before stopping the executor
related issue #117004
* Close database connection before waiting for database executor to finish
related issue #117004
* fix test
* fix
* drop unused arg
* Revert "drop unused arg"
This reverts commit 8a9fe6a24a
.
* docstring
* comment
2024-08-22 16:47:22 +02:00
Erik Montnemery
404a7bab18
Wrap OSError in loader.load_yaml ( #124406 )
2024-08-22 09:06:41 -05:00
Erik Montnemery
ab6d0e3277
Handle !include without arguments in configuration.yaml ( #124399 )
...
* Prevent !include without arguments in configuration.yaml from crashing core
* Add test
2024-08-22 12:08:24 +02:00
Erik Montnemery
6c01e4b99c
Use BaseEventLoop._thread_id instead of a custom attribute ( #124054 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-08-17 10:59:39 +02:00
J. Nick Koston
b15ea58851
Relocate code to get scheduled TimerHandles ( #123546 )
2024-08-12 09:15:33 +02:00
epenet
b498c89860
Fix raise-within-try in language util ( #123354 )
2024-08-08 18:51:19 +02:00
Erik Montnemery
9b497aebb4
Fix bug in timeout util related to multiple global freezes ( #122466 )
2024-07-29 10:12:18 +02:00
Marc Mueller
156a2427ff
Use aiohttp.ClientTimeout for timeout ( #122458 )
2024-07-23 08:20:04 -05:00
Sid
3142f52a79
Add Ruff refurb rules ( #121701 )
2024-07-10 21:47:40 +02:00
epenet
e812b0e02f
Cleanup unnecessary returns ( #121652 )
2024-07-10 15:11:56 +02:00
J. Nick Koston
89ffee9ad5
Update ulid-transform to 0.10.1 ( #121321 )
2024-07-05 14:07:39 -05:00
epenet
1332e39f9e
Cleanup deprecated json utils ( #121069 )
...
* Cleanup deprectated json utils
* Adjust pylint
2024-07-03 15:57:32 +02:00
Marc Mueller
0e52d149e4
Update voluptuous to 0.15.2 ( #120631 )
...
* Update voluptuous to 0.15.1
* Fix typing issues
* Add type ignores for json result type
* Update voluptuous to 0.15.2
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-07-02 12:57:09 -07:00
J. Nick Koston
001ee0cc0b
Downgrade logging previously reported asyncio block to debug ( #120942 )
2024-07-01 18:26:20 +02:00
J. Nick Koston
04ab74589a
Fix missing f-string in loop util ( #120800 )
2024-06-29 07:01:18 +02:00
J. Nick Koston
f7e194b32c
Adjust blocking I/O messages to provide developer help ( #120113 )
2024-06-21 12:55:22 -05:00
dontinelli
0dd5391cd7
Add Siemes and Millisiemens as additional units of conductivity and enable conversion between conductivity units ( #118728 )
2024-06-21 11:10:15 +02:00
Marc Mueller
dbb27755a4
Update mypy-dev to 1.11.0a5 ( #118519 )
2024-06-02 15:28:24 +02:00
J. Nick Koston
8f94205014
Include a traceback for non-strict event loop blocking detection ( #118620 )
2024-06-02 06:36:25 -04:00
Paulus Schoutsen
9dc580e5de
Add (deep)copy support to read only dict ( #118204 )
2024-05-26 23:05:45 -04:00
J. Nick Koston
c368ffffd5
Add async_get_hass_or_none ( #118164 )
2024-05-26 13:38:46 +02:00
Jan Bouwhuis
c616fc036e
Move recorder chunk utils to shared collection utils ( #118065 )
2024-05-24 12:49:39 -10:00
Marc Mueller
5c9c71ba2c
Fix performance regression with SignalType ( #117920 )
2024-05-22 13:58:37 +02:00
Marc Mueller
d44f949b19
Use PEP 695 misc (2) ( #117814 )
2024-05-21 09:45:57 +02:00
J. Nick Koston
5a609c34bb
Fix blocking I/O in the event loop when loading timezones ( #117721 )
2024-05-20 11:06:03 +02:00
Marc Mueller
f76842d7db
Use PEP 695 for hass_dict annotations ( #117779 )
2024-05-20 10:46:50 +02:00
Marc Mueller
8f0fb4db3e
Use PEP 695 for class annotations (4) ( #117778 )
2024-05-20 10:44:52 +02:00
Marc Mueller
4cf0a3f154
Use PEP 695 for function annotations (3) ( #117660 )
2024-05-18 11:43:32 +02:00
Marc Mueller
25d1ca747b
Use PEP 695 for decorator typing (3) ( #117640 )
2024-05-17 16:27:32 +02:00
Marc Mueller
87bb7ced79
Use PEP 695 for simple type aliases ( #117633 )
2024-05-17 14:42:21 +02:00
J. Nick Koston
6d7345ea1c
Speed up loading YAML ( #117388 )
...
Co-authored-by: Dave T <17680170+davet2001@users.noreply.github.com>
2024-05-14 13:56:42 +02:00
J. Nick Koston
d06932bbc2
Refactor asyncio loop protection to improve performance ( #117295 )
2024-05-13 07:01:55 +09:00
Sid
2cc916db6d
Replace pylint broad-except with Ruff BLE001 ( #116250 )
2024-05-07 14:00:27 +02:00