Jan Bouwhuis
548eb35b79
Migrate File notify entity platform ( #117215 )
...
* Migrate File notify entity platform
* Do not load legacy notify service for new config entries
* Follow up comment
* mypy
* Correct typing
* Only use the name when importing notify services
* Make sure a name is set on new entires
2024-05-13 11:22:13 +02:00
Erik Montnemery
0b47bfc823
Add minor version + migration to config entry store ( #117350 )
2024-05-13 10:16:18 +02:00
Erik Montnemery
b006aadeff
Remove options from FlowResult ( #117351 )
2024-05-13 10:11:33 +02:00
Erik Montnemery
90ef19a255
Alphabetize some parts of config_entries ( #117347 )
2024-05-13 09:39:18 +02:00
Erik Montnemery
b09565b4ff
Remove migration of config entry data pre version 0.73 ( #117345 )
2024-05-13 09:39:04 +02:00
Bouwe Westerdijk
84cc650bb3
Implement runtime data for Plugwise ( #117172 )
2024-05-13 09:38:06 +02:00
Erik Montnemery
d0c60ab21b
Fix typo and useless default in config_entries ( #117346 )
2024-05-13 09:26:18 +02:00
Paulus Schoutsen
f3b694ee42
Add gh cli to dev container ( #117321 )
2024-05-13 15:33:42 +09:00
Brett Adams
af0dd189d9
Improve error handling in Teslemetry ( #117336 )
...
* Improvement command handle
* Add test for ignored reasons
2024-05-12 19:37:59 -07:00
Marc Hörsken
4d5ae57390
Add camera recording service to blink ( #110612 )
...
Add camera clip recording service to blink
Revival of #46598 by @fronzbot, therefore:
Co-authored-by: Kevin Fronczak <kfronczak@gmail.com>
2024-05-12 19:35:01 -07:00
Raman Gupta
61b906e29f
Bump zwave-js-server-python to 0.56.0 ( #117288 )
...
* Bump zwave-js-server-python to 0.56.0
* Fix deprecation warning
* Fix tests
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-05-12 22:19:47 -04:00
tronikos
492ef67d02
Call Google Assistant SDK service using async_add_executor_job ( #117325 )
2024-05-12 22:19:20 -04:00
J. Nick Koston
38ce7b15b0
Fix squeezebox blocking startup ( #117331 )
...
fixes #117079
2024-05-12 22:18:52 -04:00
J. Nick Koston
11f49280c9
Enable open protection in the event loop ( #117289 )
2024-05-13 08:50:31 +09:00
J. Nick Koston
d06932bbc2
Refactor asyncio loop protection to improve performance ( #117295 )
2024-05-13 07:01:55 +09:00
Joost Lekkerkerker
aae39759d9
Clean up aurora ( #117315 )
...
* Clean up aurora
* Fix
* Fix
* Fix
2024-05-12 21:54:32 +02:00
Joost Lekkerkerker
8ab4113b4b
Fix Aurora naming ( #117314 )
2024-05-12 15:36:21 -04:00
Robert Hillis
0a8feae49a
Add test for radarr update failure ( #116882 )
2024-05-12 20:23:53 +02:00
Marc Mueller
3434fb70fb
Remove ConfigEntry runtime_data on unload ( #117312 )
2024-05-12 13:53:22 -04:00
Jan Bouwhuis
a1bc929421
Migrate Tibber notify service ( #116893 )
...
* Migrate tibber notify service
* Tests and repair flow
* Use notify repair flow helper
* Cleanup strings after using helper, use HomeAssistantError
* Add entry state assertions to unload test
* Update comment
* Update comment
2024-05-12 19:52:08 +02:00
Jan Bouwhuis
07061b14d0
Fix typo in mqtt test name ( #117305 )
2024-05-12 16:44:39 +02:00
Jan Bouwhuis
606a2848db
Fix import on File config entry and other improvements ( #117210 )
...
* Address comments
* Remove Name option for File based sensor
* Make sure platform schema is applied
2024-05-12 15:09:54 +02:00
J. Nick Koston
c971d08454
Fix flume doing blocking I/O in the event loop ( #117293 )
...
constructing FlumeData opens files
2024-05-12 08:28:22 -04:00
Brett Adams
7509ccff40
Use entry runtime data in Teslemetry ( #117283 )
...
* runtime_data
* runtime_data
* Remove some code
* format
* Fix missing entry.runtime_data
2024-05-12 08:25:09 -04:00
J. Nick Koston
f318a3b5e2
Fix blocking I/O in the event loop to get MacOS system_info ( #117290 )
...
* Fix blocking I/O in the event look to get MacOS system_info
* split pr
* Update homeassistant/helpers/system_info.py
Co-authored-by: Jan-Philipp Benecke <jan-philipp@bnck.me>
* Update homeassistant/helpers/system_info.py
---------
Co-authored-by: Jan-Philipp Benecke <jan-philipp@bnck.me>
2024-05-12 08:16:21 -04:00
Jan Bouwhuis
65a4e5a1af
Spelling of controlling in mqtt valve tests ( #117301 )
2024-05-12 14:06:21 +02:00
Marc Mueller
4f4389ba85
Improve bluetooth generic typing ( #117157 )
2024-05-12 13:15:30 +02:00
Jan Bouwhuis
92254772ca
Increase MQTT broker socket buffer size ( #117267 )
...
* Increase MQTT broker socket buffer size
* Revert unrelated change
* Try to increase buffer size
* Set INITIAL_SUBSCRIBE_COOLDOWN back to 0.5 sec
* Sinplify and add test
* comments
* comments
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-05-12 13:13:41 +02:00
J. Nick Koston
f4e8d46ec2
Small speed ups to bootstrap tests ( #117285 )
2024-05-12 20:05:02 +09:00
J. Nick Koston
437fe3fa4e
Fix mimetypes doing blocking I/O in the event loop ( #117292 )
...
The first time aiohttp calls mimetypes, it will load the mime.types file
We now init the db in the executor to avoid blocking the event loop
2024-05-12 10:47:52 +02:00
Ville Skyttä
34175846ff
Bump upcloud-api to 2.5.1 ( #117231 )
...
Upgrade upcloud-python-api to 2.5.1
- https://github.com/UpCloudLtd/upcloud-python-api/releases/tag/v2.0.1
- https://github.com/UpCloudLtd/upcloud-python-api/releases/tag/v2.5.0
- https://github.com/UpCloudLtd/upcloud-python-api/releases/tag/v2.5.1
2024-05-12 08:10:02 +00:00
J. Nick Koston
eac4aaef10
Use a dictcomp to reconstruct DeviceInfo in the device_registry ( #117286 )
...
Use a dictcomp to reconstruct DeviceInfo
a dictcomp is faster than many sets on the dict by at least
25%
We call this for nearly every device in the registry at
startup
2024-05-12 08:07:12 +02:00
Erik Montnemery
0acf392a50
Use `MockConfigEntry` in hue tests ( #117237 )
...
Use MockConfigEntry in hue tests
2024-05-11 23:36:54 -04:00
J. Nick Koston
b061e7d1aa
Small speed up to setting up integrations and config entries ( #117278 )
...
* Small speed up to setting up integration and config entries
When profiling tests, I noticed many calls to get_running_loop. In the places
where we are already in a coro, pass the existing loop so it does not have to
be looked up. I did not do this for places were we are not in a coro since there
is risk that an integration could be doing a non-thread-safe call and its better
that the code raises when trying to fetch the running loop vs the performance
improvement for these cases.
* fix merge
* missed some
2024-05-11 22:39:20 -04:00
Abílio Costa
15825b9444
Fix docstring in Idasen Desk ( #117280 )
2024-05-12 09:14:52 +09:00
J. Nick Koston
481de8cdc9
Ensure config entry operations are always holding the lock ( #117214 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-05-12 08:20:08 +09:00
Erik Montnemery
f55fcca0bb
Tweak config_entries tests ( #117242 )
2024-05-11 21:45:03 +02:00
Joost Lekkerkerker
9f53c807c6
Refactor V2C tests ( #117264 )
...
* Refactor V2C tests
* Refactor V2C tests
* Refactor V2C tests
* Refactor V2C tests
* Update tests/components/v2c/conftest.py
* Refactor V2C tests
2024-05-11 21:28:37 +02:00
Jan Bouwhuis
7eb8f265fe
Add shared notify service migration repair helper ( #117213 )
...
* Add shared notifiy service migration repair helper
* Delete ecobee repairs.py
* Update dependency
* Fix file test
* Fix homematic tests
* Improve tests for file and homematic
2024-05-11 21:13:44 +02:00
Erik Montnemery
d1525b1edf
Sort parameters to MockConfigEntry ( #117239 )
2024-05-11 14:16:29 -04:00
Erik Montnemery
35900cd579
Use mock_config_flow helper in bootstrap tests ( #117240 )
2024-05-11 14:11:42 -04:00
Erik Montnemery
021b057a87
Use mock_config_flow helper in config_entries tests ( #117241 )
2024-05-11 14:11:18 -04:00
Erik Montnemery
5c1f6aeb60
Use mock_config_flow helper in config tests ( #117245 )
2024-05-11 14:09:00 -04:00
Raman Gupta
1f792fc2aa
Start using runtime_data for zwave_js ( #117261 )
...
* Start using runtime_data for zwave_js
* fix bug
2024-05-11 14:08:30 -04:00
Tom Harris
a892062f01
Bump pyinsteon to 1.6.1 ( #117196 )
...
* Bump pyinsteon
* Bump pyinsteon
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-05-11 13:41:14 -04:00
mtielen
e5f8e08d62
Bump wolf-comm to 0.0.8 ( #117218 )
2024-05-11 18:29:59 +02:00
hahn-th
8e71fca511
Bump homematicip to 1.1.1 ( #117175 )
2024-05-11 18:24:56 +02:00
Raman Gupta
9655db3d55
Fix zwave_js discovery logic for node device class ( #117232 )
...
* Fix zwave_js discovery logic for node device class
* simplify check
2024-05-11 17:41:03 +02:00
Erik Montnemery
3bea124d84
Sort asserts in config config_entries tests ( #117244 )
2024-05-11 17:38:07 +02:00
Erik Montnemery
813f97dedc
Rename some MQTT tests ( #117246 )
2024-05-11 16:57:46 +02:00