Commit Graph

1144 Commits (73d0124c98d01850e4174b90d791629e743458fa)

Author SHA1 Message Date
J. Nick Koston 94386b6674
Bump home-assistant-bluetooth to 1.9.3 (#88051) 2023-02-13 23:28:30 -05:00
J. Nick Koston c1039fab4a
Bump dbus-fast to 1.84.1 (#88042) 2023-02-13 23:19:49 -05:00
J. Nick Koston 8a2d81fe4b
Bump zeroconf to 0.47.3 (#88045)
changelog: https://github.com/python-zeroconf/python-zeroconf/compare/0.47.1...0.47.3
2023-02-13 23:19:36 -05:00
J. Nick Koston 026b4f5307
Bump aiohttp to 3.8.4 (#88032) 2023-02-13 15:52:20 -06:00
J. Nick Koston e899754919
Bump sqlalchemy to 2.0.3 (#87913)
changes: https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.3
2023-02-11 23:20:22 -05:00
Marc Mueller 18a3fe1237
Remove platformdirs constraint (#87735) 2023-02-08 15:32:03 -06:00
Erik Montnemery 94519de8dd
Upgrade SQLAlchemy to 2.0.2 (#86436)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-08 08:17:32 -06:00
J. Nick Koston f0118b3d30
Bump cryptography to 39.0.1 for CVE-2023-23931 (#87658)
Bump cryptography to 39.0.1

CVE-2023-23931
2023-02-07 20:30:16 -05:00
Marc Mueller e348c25e18
Pin platformdirs to resolve dependency conflict (#87589) 2023-02-06 18:58:00 -06:00
Marc Mueller 04b921e3b5
Update pip constraint to 23.1 (#87331) 2023-02-03 21:02:35 +01:00
Bram Kragten 843e3ca9e6
Update frontend to 20230202.0 (#87208) 2023-02-02 16:11:01 -05:00
Bram Kragten 0a524833e3
Update frontend to 20230201.0 (#87099) 2023-02-01 18:06:12 +01:00
Michael Hansen 68450734f1
Bump home-assistant-intents to 2023.1.31 (#87034) 2023-01-31 10:23:03 -06:00
Bram Kragten 0c383e28c4
Update frontend to 20230130.0 (#86978) 2023-01-30 21:34:26 -05:00
Steven Looman 7e206b5854
Fix error on empty location in ssdp messages (#86970) 2023-01-30 22:43:58 +01:00
Michael Hansen f7fdaadde0
Performance improvements for Assist (#86966)
* Move hassil recognize into executor

* Bump hassil to 0.2.6

* Disable template parsing in name/area lists

* Don't iterate over hass.config.components directly
2023-01-30 12:25:22 -06:00
Paul Bottein e93bfa6556
Update frontend to 20230128.0 (#86838) 2023-01-28 18:49:29 -05:00
Bram Kragten 74ae351ac0
Update frontend to 20230125.0 (#86628)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-01-25 18:37:23 +01:00
Michael Hansen c5c68cd429
Bump home-assistant-intents 2023.1.25 (#86626)
* Bump home-assistant-intents 2022.1.25

* Use correct year in home-assistant-intents package
2023-01-25 10:50:15 -06:00
Malte Franken a2fb6fbaa8
Bump httpx to 0.23.3 (#86614)
fixes undefined
2023-01-25 11:40:46 +01:00
Michael Hansen ea95abcb30
Use intent responses from home-assistant-intents (#86484)
* Use intent responses from home_assistant_intents

* Use error responses from home_assistant_intents

* Remove speech checks for intent tests (set by conversation now)

* Bump hassil and home-assistant-intents versions

* Use Home Assistant JSON reader when loading intents

* Remove speech checks for light tests (done in agent)

* Add more tests for code coverage

* Add test for reloading on new component

* Add test for non-default response
2023-01-23 22:38:41 -05:00
epenet 91c502ae55
Bump bcrypt to 4.0.1 (#86338) 2023-01-21 11:16:28 -05:00
Franck Nijhof b85d6e6ede
Update orjson to 3.8.5 (#86043) 2023-01-16 22:20:12 +01:00
Paulus Schoutsen d92b423127
Add conversation to default config (#85877)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-01-15 13:21:16 +01:00
J. Nick Koston 8b893b7062
Bump cryptography to 39.0.0 (#85846)
* Bump cryptography to 39.0.0

changelog: https://github.com/pyca/cryptography/compare/38.0.3...39.0.0

The change that is significant is https://github.com/pyca/cryptography/pull/7601 which
should help with esphome noise encryption performance

* constraints

* fix botocore not loading
2023-01-13 19:58:01 -05:00
Paul Bottein 67b238c8d1
Update frontend to 20230110.0 (#85640) 2023-01-10 14:28:12 -05:00
J. Nick Koston 6aa44d5b82
Bump bleak to 0.19.5 (#85567)
changelog: https://github.com/hbldh/bleak/compare/v0.19.2...v0.19.5
2023-01-10 09:56:24 +01:00
J. Nick Koston f9dbce8bf4
Bump dbus-fast to 1.84.0 (#85568)
changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.82.0...v1.84.0
2023-01-10 09:55:37 +01:00
Franck Nijhof 3bb435c292
Pin matplotlib to 3.6.1 (#85540) 2023-01-09 18:34:10 +01:00
Jack Boswell 3ad4caa3d7
Add Starlink Integration (#77091)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-01-07 10:13:37 -10:00
Franck Nijhof 83f6e168e5
Update orjson to 3.8.4 (#85195) 2023-01-05 12:34:23 +01:00
J. Nick Koston a9640d9c94
Bump home-assistant-bluetooth to 1.9.2 (#85123) 2023-01-04 18:29:26 +01:00
Bram Kragten d3b1a2c95e
Update frontend to 20230104.0 (#85107) 2023-01-04 14:38:17 +01:00
J. Nick Koston 7fdf00a9fb
Bump scapy to 2.5.0 (#85074)
changelog: https://github.com/secdev/scapy/compare/v2.4.5...v2.5.0

Reduces memory overhead via https://github.com/secdev/scapy/pull/3579
2023-01-03 16:48:47 -05:00
J. Nick Koston 8db086f65b
Bump sqlalchemy to 1.4.45 (#85021)
changelog: https://docs.sqlalchemy.org/en/20/changelog/changelog_14.html#change-1.4.45
2023-01-02 20:46:56 -05:00
J. Nick Koston b470c3484b
Bump httpx to 0.23.2 (#85023)
changelogs:
https://github.com/encode/httpcore/compare/0.16.2...0.16.3
https://github.com/encode/httpx/compare/0.23.1...0.23.2
2023-01-02 20:45:52 -05:00
Bram Kragten 0ad16e25ef
Update frontend to 20230102.0 (#85010)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-01-02 23:31:42 +01:00
J. Nick Koston 3dd342baf3
Bump home-assistant-bluetooth to 1.9.1 (#85005)
fixes #83722
2023-01-02 16:33:01 -05:00
Franck Nijhof 2371a6cc72
Update Pillow to 9.4.0 (#84974) 2023-01-02 14:43:41 +01:00
Franck Nijhof 9b3d727e8e
Update orjson to 3.8.3 (#84878) 2022-12-31 00:58:02 +01:00
Bram Kragten 55885f49f2
Update frontend to 20221230.0 (#84842) 2022-12-30 14:55:50 +01:00
Franck Nijhof f84533838a
Update attrs to 22.2.0 (#84772) 2022-12-29 15:09:39 +01:00
Bram Kragten 29797b93f7
Update frontend to 20221228.0 (#84696) 2022-12-28 16:35:50 +01:00
J. Nick Koston 75739d8621
Bump zeroconf to 0.47.1 (#84523) 2022-12-23 18:35:44 -10:00
J. Nick Koston 8c70e5aaad
Try the next best adapter after a BLE connection fails (#84512)
* Try the next best adapter after a BLE connection fails

* add cover

* tweak

* tweak

* Update homeassistant/components/bluetooth/wrappers.py

* bump

* small tweak

* tweak logic
2022-12-23 20:48:47 -05:00
J. Nick Koston 070aa714a0
Switch to a different local Bluetooth adapter when one runs out of connection slots (#84331) 2022-12-23 08:58:33 -10:00
Franck Nijhof f17a42dc27
Upgrade ciso8601 to 2.3.0 (#84465) 2022-12-22 15:01:59 -05:00
J. Nick Koston 17d674e1cc
Bump zeroconf to 0.47.0 (#84420) 2022-12-21 19:18:58 -10:00
Steven Looman 682501eb47
Less tasks when receiving SSDP messages (#84186)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-12-21 11:35:52 -10:00
J. Nick Koston 88ef8cc51a
Bump bluetooth-data-tools to 0.3.1 (#84258)
changelog: https://github.com/Bluetooth-Devices/bluetooth-data-tools/compare/v0.3.0...v0.3.1
2022-12-19 22:45:39 +02:00
Aaron Godfrey fe2e357ae9
Upgrade attrs to 22.1.0 (#84205) 2022-12-19 12:40:30 +01:00
J. Nick Koston f1fc54d29d
Bump zeroconf to 0.44.0 (#84166) 2022-12-19 11:56:11 +01:00
J. Nick Koston c70faeae96
Bump bluetooth-auto-recovery to 1.0.3 (#84075)
* Bump bluetooth-auto-recovery to 1.0.1

changelog: https://github.com/Bluetooth-Devices/bluetooth-auto-recovery/compare/v1.0.0...v1.0.1

Handles the case were the adapter gets a new hci number
after a usb reset.

* one more

* bump again
2022-12-16 09:25:23 -05:00
Bram Kragten b0b3b36392
Update frontend to 20221213.1 (#84058) 2022-12-15 11:35:02 -05:00
Bram Kragten 42a9069338
Update frontend to 20221213.0 (#83940) 2022-12-13 13:24:24 -05:00
J. Nick Koston 7c6806e75d
Fix bleak-retry-connector get_device hang with HAOS 9.4 and only proxies (#83879)
The bleak connection setup to dbus hangs forever instead of errors if
there are no local bluetooth adapters and we are using remote proxies.

The library now times out when this happens instead of hanging
forever.

changelog: https://github.com/Bluetooth-Devices/bleak-retry-connector/compare/v2.10.1...v2.10.2
2022-12-12 21:29:39 -05:00
Bram Kragten 5ef972c5d9
Update frontend to 20221212.0 (#83842) 2022-12-12 18:52:47 +01:00
J. Nick Koston 876258e68a
Bump bluetooth-auto-recovery to 1.0.0 (#83800)
fixes https://github.com/home-assistant/core/issues/83673
2022-12-12 11:49:57 +01:00
Paulus Schoutsen 1c0543bcd5
Drop aiohttp to 3.8.1 (#83795) 2022-12-11 21:19:02 -05:00
J. Nick Koston 9008006ac8
Restore remote discovered devices between remote scanner restarts (#83699) 2022-12-11 09:02:55 -10:00
J. Nick Koston df0f694b01
Bump dbus-fast to 1.82.0 (#83682)
performance improvements for HAOS 9.4 passive monitoring

changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.80.0...v1.82.0
2022-12-09 20:55:20 -05:00
J. Nick Koston 558dceac42
Bump dbus-fast to 1.80.0 (#83601)
changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.79.0...v1.80.0

performance improvements
2022-12-09 05:03:09 +01:00
J. Nick Koston 52f754e83d
Bump bluetooth-auto-recovery to 0.5.5 (#83597)
changelog: https://github.com/Bluetooth-Devices/bluetooth-auto-recovery/compare/v0.5.4...v0.5.5

fixes #78036
2022-12-08 20:29:14 -05:00
J. Nick Koston 8193ddf61a
Bump dbus-fast to 1.79.0 (#83598)
HA OS 9.4 adds support for passive scanning, however
a different path is used in dbus-fast to get the passive
results which was never optimized which caused passive
scanning to use more cpu time than active scanning.

changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.75.0...v1.79.0
2022-12-08 20:28:52 -05:00
Bram Kragten ee8a2d1e25
Update frontend to 20221208.0 (#83551) 2022-12-08 17:18:39 +01:00
Bram Kragten dfb0887765
Update frontend to 20221207.0 (#83479) 2022-12-07 17:46:42 +01:00
Joakim Sørensen 41e4f10977
Bump hass-nabucasa from 0.59.0 to 0.61.0 (#83466) 2022-12-07 13:17:45 +01:00
Franck Nijhof 552a87dfcc
Upgrade grpcio(-status) to 1.51.1 (#83420) 2022-12-06 21:57:06 +01:00
Bram Kragten 75c5137e77
Update frontend to 20221206.0 (#83415) 2022-12-06 13:21:28 -05:00
J. Nick Koston 1ee9c0cb8d
Fix bluetooth device connection failure when device is seen by dbus but not bleak (#83281) 2022-12-05 22:34:21 -05:00
Bram Kragten 91cdf0ecf7
Update frontend to 20221205.0 (#83349) 2022-12-05 23:59:54 +01:00
Michael Chisholm 7378277212
Update async-upnp-client to 0.32.3 (#83215) 2022-12-04 10:05:53 -08:00
J. Nick Koston 955d4abf13
Fix missing services with esp32 proxies (#83192) 2022-12-03 13:50:59 -05:00
J. Nick Koston 6651dfaf9b
Bump bluetooth-auto-recovery to 0.5.4 (#83155)
changelog: https://github.com/Bluetooth-Devices/bluetooth-auto-recovery/compare/v0.5.3...v0.5.4
2022-12-02 19:48:06 -05:00
J. Nick Koston 144f1b918b
Fix logging the wrong bluetooth adapter while connecting and out of slots (#83158) 2022-12-02 13:24:12 -10:00
Michaël Arnauts 5a8cf38552
Update pycomfoconnect to 0.5.1 (#83124) 2022-12-02 10:38:29 -10:00
J. Nick Koston 8eeba490d1
Update aiobafi6 to 0.7.3 (#83073) 2022-12-02 14:56:02 +01:00
J. Nick Koston ccb5910db0
Bump bleak-retry-connector to 2.8.7 (#83095)
changelog: https://github.com/Bluetooth-Devices/bleak-retry-connector/compare/v2.8.6...v2.8.7
2022-12-02 08:08:56 +01:00
Bram Kragten 18e4c065eb
Update frontend to 20221201.1 (#83062) 2022-12-01 16:35:53 -05:00
Joakim Sørensen 817bbfe6aa
Bump hass-nabucasa from 0.56.0 to 0.59.0 (#82987)
* Bump hass-nabucasa from 0.56.0 to 0.58.0

* 0.59.0
2022-12-01 09:08:39 +01:00
Bram Kragten a3fe08b62b
Update frontend to 20221130.0 (#83014) 2022-11-30 23:28:24 +01:00
J. Nick Koston d620b199fc
Bump bleak-retry-connector to 2.8.6 (#83011) 2022-11-30 23:10:06 +01:00
Marvin Wichmann 1908feab79
Increase file upload limit to 100 MB (#77117)
* Increase file upload limit to 100 MB

* Remove comment

* Add test and fix chunk processing

* Add test for wrong field

* Add review suggestions

* Use nonlocal and remove unneeded executor task

* Use Janus to process chunk uploading

* Address review comments

* Address review comments #2

* Improve tests

* Fix discovery test

* Fix tests
2022-11-29 20:46:34 -05:00
Joakim Plate c576a68d33
Upgrade pytest-aiohttp (#82475)
* Upgrade pytest-aiohttp

* Make sure executors, tasks and timers are closed

Some test will trigger warnings on garbage collect, these warnings
spills over into next test.

Some test trigger tasks that raise errors on shutdown, these spill
over into next test.

This is to mimic older pytest-aiohttp and it's behaviour on test
cleanup.

Discussions on similar changes for pytest-aiohttp are here:
https://github.com/pytest-dev/pytest-asyncio/pull/309

* Replace loop with event_loop

* Make sure time is frozen for tests

* Make sure the ConditionType is not async

  /home-assistant/homeassistant/helpers/template.py:2082: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
    def wrapper(*args, **kwargs):
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

* Increase litejet press tests with a factor 10

The times are simulated anyway, and we can't stop the normal
event from occuring.

* Use async handlers for aiohttp

tests/components/motioneye/test_camera.py::test_get_still_image_from_camera
tests/components/motioneye/test_camera.py::test_get_still_image_from_camera
tests/components/motioneye/test_camera.py::test_get_stream_from_camera
tests/components/motioneye/test_camera.py::test_get_stream_from_camera
tests/components/motioneye/test_camera.py::test_camera_option_stream_url_template
tests/components/motioneye/test_camera.py::test_camera_option_stream_url_template
  /Users/joakim/src/hass/home-assistant/venv/lib/python3.9/site-packages/aiohttp/web_urldispatcher.py:189: DeprecationWarning: Bare functions are deprecated, use async ones
    warnings.warn(

* Switch to freezegun in modbus tests

The tests allowed clock to tick in between steps

* Make sure skybell object are fully mocked

Old tests would trigger attempts to post to could services:

```
DEBUG:aioskybell:HTTP post https://cloud.myskybell.com/api/v3/login/ Request with headers: {'content-type': 'application/json', 'accept': '*/*', 'x-skybell-app-id': 'd2b542c7-a7e4-4e1e-b77d-2b76911c7c46', 'x-skybell-client-id': '1f36a3c0-6dee-4997-a6db-4e1c67338e57'}
```

* Fix sorting that broke after rebase
2022-11-29 22:36:36 +01:00
J. Nick Koston d885e45ebb
Bump bluetooth-auto-recovery to 0.5.3 (#82909) 2022-11-29 12:50:54 +01:00
Franck Nijhof 35e81cf982
Update aiohttp to 3.8.3 (#78860) 2022-11-28 20:42:10 +01:00
J. Nick Koston d6e287f47a
Add manufacturer and model to bluetooth adapter device (#82769)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-11-27 15:44:44 -05:00
J. Nick Koston 6662dbf3c8
Bump bluetooth-auto-recovery to 0.5.2 (#82768) 2022-11-27 14:27:59 -05:00
uvjustin 9390359fe3
Bump httpx to 0.23.1 (#82725) 2022-11-26 10:04:22 -10:00
J. Nick Koston 9add474c45
Bump bleak-retry-connector to 2.8.5 (#82387)
changelog: https://github.com/Bluetooth-Devices/bleak-retry-connector/compare/v2.8.4...v2.8.5

from: https://github.com/esphome/esphome/pull/4049
2022-11-19 19:46:06 -05:00
J. Nick Koston f28d9285bf
Bump dbus-fast to 1.75.0 (#82289) 2022-11-17 23:02:35 +01:00
J. Nick Koston 47c66dbed4
Offload platform specific bluetooth code to bluetooth-adapters (#82196)
* Offload platform specific bluetooth code to bluetooth-adapters

* adjust

* fix some more patch targets

* more test fixes

* almost there

* may not be setup yet

* more fixes

* fixes

* fix test

* fix merge
2022-11-17 14:34:19 -05:00
J. Nick Koston 4b89d087bb
Bump home-assistant-bluetooth to 1.8.1 (#82222)
changelog: https://github.com/home-assistant-libs/home-assistant-bluetooth/compare/v1.8.0...v1.8.1
2022-11-16 23:08:17 +02:00
J. Nick Koston 08398370c5
Bump dbus-fast to 1.74.1 (#82202) 2022-11-16 11:26:47 -06:00
J. Nick Koston 1f0691bf18
Bump bluetooth-auto-recovery to 0.4.0 (#82195) 2022-11-16 17:07:01 +01:00
J. Nick Koston 682187541f
Move BluetoothServiceInfoBleak to home_assistant_bluetooth (#82064) 2022-11-15 14:00:52 -06:00
Franck Nijhof 19e5e671a2
Update sqlalchemy to 1.4.44 (#82129) 2022-11-15 08:51:13 -06:00
J. Nick Koston f497b989b9
Bump dbus-fast to 1.74.0 (#82107)
changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.73.0...v1.74.0
2022-11-15 15:27:54 +01:00
J. Nick Koston 62bd692a58
Bump bluetooth-data-tools to 0.3.0 (#82016)
prep work for #82007

changelog: https://github.com/Bluetooth-Devices/bluetooth-data-tools/compare/v0.2.0...v0.3.0
2022-11-13 09:47:24 +01:00
J. Nick Koston de48ae2e53
Bump dbus-fast to 1.73.0 (#81959)
changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.72.0...v1.73.0
2022-11-11 23:22:22 +01:00