Commit Graph

1247 Commits (15ddf69c6a04f248d5f7a6d8e3cd3610e23f14d5)

Author SHA1 Message Date
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
J. Nick Koston 777bf27dda
Bump bleak-retry-connector to 2.8.4 (#81937)
changelog: https://github.com/Bluetooth-Devices/bleak-retry-connector/compare/v2.8.3...v2.8.4

reduces the risk that the operation will fail because the adapter
temporarily runs out of connection slots
2022-11-11 08:51:58 +01:00
Bram Kragten 014c2d487d
Update frontend to 20221108.0 (#81787) 2022-11-08 15:00:30 +01:00
J. Nick Koston b7533aff48
Replace led-ble util with bluetooth-data-tools (#81093) 2022-11-08 07:26:16 -06:00
J. Nick Koston 9c3bd22e77
Bump bleak to 0.19.2 (#81688) 2022-11-06 19:07:21 -06:00
J. Nick Koston c3946159d8
Bump bleak-retry-connector to 2.8.3 (#81675)
Improves chances of making a BLE connection with the ESP32s

changelog: https://github.com/Bluetooth-Devices/bleak-retry-connector/compare/v2.8.2...v2.8.3
2022-11-07 00:45:53 +01:00
J. Nick Koston b18a1e6d7c
Bump dbus-fast to 1.72.0 (#81574) 2022-11-06 08:12:58 -06:00
Steven Looman a635e9c9d2
Fix repeating SSDP errors by checking address scope_ids and proper hostname (#81611) 2022-11-05 17:11:59 -05:00
J. Nick Koston 089c4a7da2
Bump bluetooth-adapters to 0.7.0 (#81576)
changelog: https://github.com/Bluetooth-Devices/bluetooth-adapters/releases/tag/v0.7.0
2022-11-05 10:44:05 +01:00
J. Nick Koston ca905a8c05
Bump dbus-fast to 1.71.0 (#81541)
performance improvements

changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.67.0...v1.71.0
2022-11-04 15:29:15 +01:00
J. Nick Koston 93072d8ac5
Bump dbus-fast to 1.67.0 (#81517)
Bump dbus to 1.67.0

The bleak BlueZ clients use the negotiate_unix_fd path
which was not optimized but is now.  (The scanners already
used a fast path)

changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.64.0...v1.67.0
2022-11-04 06:34:23 +01:00
J. Nick Koston 905005e1e8
Bump dbus-fast 1.64.0 (#81462)
- Performance improvements

changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.61.1...v1.64.0
2022-11-03 12:51:38 +01:00
Franck Nijhof 7556f2b84e
Update cryptography to 38.0.3 (#81455) 2022-11-03 11:18:25 +01:00
Bram Kragten 76819d81be
Update frontend to 20221102.1 (#81422) 2022-11-02 20:25:31 +01:00
Bram Kragten 44f63252e7
Update frontend to 20221102.0 (#81405) 2022-11-02 11:52:19 +01:00
J. Nick Koston 10aa1d386a
Bump dbus-fast to 1.61.1 (#81386) 2022-11-01 20:52:13 -04:00
J. Nick Koston 54df052699
Bump bleak-retry-connector to 2.8.2 (#81370)
* Bump bleak-retry-connector to 2.8.2

Tweaks for the esp32 proxies now that we have better error
reporting. This change improves the retry cases a bit with
the new https://github.com/esphome/esphome/pull/3971

* empty
2022-11-01 21:49:05 +01:00
Franck Nijhof e22f69ea8c
Update Pillow to 9.3.0 (#81343) 2022-11-01 11:34:44 +02:00
Bram Kragten 4a9859bf54
Update frontend to 20221031.0 (#81324) 2022-10-31 20:42:18 +01:00
J. Nick Koston 3764f7d95b
Bump zeroconf to 0.39.4 (#81313) 2022-10-31 12:35:43 -05:00
J. Nick Koston 5ba3b499fe
Bump dbus-fast to 1.60.0 (#81296) 2022-10-31 09:18:49 -04:00
J. Nick Koston 1bdd8fff44
Bump bleak-retry-connector to 2.8.1 (#81285)
* Bump bleak-retry-connector to 2.8.1

reduces logging now that we have found the problem
with esphome devices not disconnecting ble devices
after timeout

changelog: https://github.com/Bluetooth-Devices/bleak-retry-connector/compare/v2.8.0...v2.8.1

* empty
2022-10-31 00:28:38 -05:00
J. Nick Koston 1d94fbb176
Bump bleak-retry-connector to 2.8.0 (#81283) 2022-10-30 20:40:01 -05:00
J. Nick Koston 4fb6fa9cca
Bump bleak-retry-connector to 2.7.0 (#81280) 2022-10-30 19:24:32 -05:00
J. Nick Koston 1106df158d
Bump bleak-retry-connector to 2.6.0 (#81270) 2022-10-30 17:38:09 -05:00
J. Nick Koston d9d6902803
Bump dbus-fast to 1.59.1 (#81229)
* Bump dbus-fast to 1.59.1

fixes incorrect logging of an exception when it was already handled

changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.59.0...v1.59.1

* empty
2022-10-30 11:32:57 +01:00
J. Nick Koston 7f047cf95c
Bump dbus-fast to 1.59.0 (#81215)
* Bump dbus-fast to 1.59.0

changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.58.0...v1.59.0

* empty
2022-10-29 15:06:17 -04:00
J. Nick Koston ccfa314e87
Update to bleak 0.19.1 and bleak-retry-connector 2.5.0 (#81198) 2022-10-29 14:25:35 -04:00
J. Nick Koston 91efe68cdd
Bump dbus-fast to 1.58.0 (#81195) 2022-10-29 14:22:46 -04:00
J. Nick Koston effe8d9207
Bump dbus-fast to 1.56.0 (#81177)
* Bump dbus-fast to 1.56.0

Addes optimized readers for manufacturer data
and interfaces added messages

changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.55.0...v1.56.0

* empty
2022-10-29 09:40:40 +02:00
J. Nick Koston e47f06fde8
Bump dbus-fast to 1.54.0 (#81148)
* Bump dbus-fast to 1.53.0

changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.51.0...v1.53.0

* 54
2022-10-28 21:01:03 -04:00
Bram Kragten c7d342a719
Update frontend to 20221027.0 (#81114) 2022-10-27 23:13:43 +02:00
J. Nick Koston 588277623f
Bump dbus-fast to 1.51.0 (#81109) 2022-10-27 15:38:53 -04:00
J. Nick Koston 6e19629539
Bump zeroconf to 0.39.3 (#81049) 2022-10-27 01:03:13 +02:00
J. Nick Koston 2a6f2f431d
Bump dbus-fast to 1.49.0 (#81043) 2022-10-26 14:39:27 -05:00
Paulus Schoutsen 00f72f8b2a
Bump frontend to 20221026.0 (#81042) 2022-10-26 21:32:55 +02:00
Franck Nijhof d65e639f00
Update orjson to 3.8.1 (#81000) 2022-10-26 12:40:15 +02:00
Steven Looman b5f70a404a
Fix SSDP/UPnP server after testing (#80815) 2022-10-24 15:19:19 -05:00
J. Nick Koston f61c010116
Bump bleak-retry-connector to 2.4.2 (#80908) 2022-10-24 14:27:04 -05:00
J. Nick Koston 9978296ae2
Bump bleak-retry-connector to 2.4.0 (#80887) 2022-10-24 09:28:59 -05:00
J. Nick Koston b952797298
Bump bleak-retry-connector to 2.3.2 (#80790) 2022-10-22 16:14:11 -05:00
Bram Kragten 1ac2d4ae74
Update frontend to 20221021.0 (#80751) 2022-10-21 20:29:28 -04:00
J. Nick Koston 90f6924808
Bump zeroconf to 0.39.2 (#80699)
python 3.11 support & performance improvements

changelog: https://github.com/jstasiak/python-zeroconf/compare/0.39.1...0.39.2
2022-10-20 20:32:32 -04:00
Franck Nijhof e510dd64f1
Pin uamqp==1.6.0 (#80678) 2022-10-20 18:30:00 +02:00
Bram Kragten 454394a242
Update frontend to 20221020.0 (#80661) 2022-10-20 12:29:51 +02:00
J. Nick Koston 540d959dd2
Bump bluetooth-auto-recovery to 0.3.6 (#80643)
* Bump bluetooth-auto-recovery to 0.3.5

changelog: https://github.com/Bluetooth-Devices/bluetooth-auto-recovery/compare/v0.3.4...v0.3.5

* bump again for more rfkill fixes
2022-10-20 07:13:41 +02:00
J. Nick Koston 2c36ee412a
Bump dbus-fast to 1.47.0 (#80633) 2022-10-19 16:52:19 -05:00
J. Nick Koston a708fc9984
Bump bleak-retry-connector to 2.3.1 (#80549) 2022-10-18 11:48:52 -05:00
Franck Nijhof cb530e398c
Update sqlalchemy to 1.4.42 (#80495) 2022-10-17 23:30:21 -04:00
Marc Mueller 8d4c32e106
Update pip constraint to 22.4 (#80383) 2022-10-16 12:01:11 +02:00
J. Nick Koston 3b31330882
Bump bleak-retry-connector to 2.3.0 (#80397) 2022-10-15 14:08:15 -10:00
Steven Looman 731f618028
Make home assistant discoverable via UPnP/SSDP (#79820) 2022-10-15 14:00:46 -04:00
J. Nick Koston d12cbab6c4
Bump bleak to 0.19.0 (#80349) 2022-10-15 13:57:23 -04:00
J. Nick Koston 46c6043856
Bump dbus-fast to 1.45.0 (#80289)
significant performance improvements

https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.44.0...v1.45.0
2022-10-14 00:41:06 +03:00
J. Nick Koston 237b03150e
Bump dbus-fast to 1.44.0 (#80149) 2022-10-12 11:37:26 +02:00
J. Nick Koston fe5534666d
Bump dbus-fast to 1.41.0 (#80062) 2022-10-10 18:52:44 -10:00
Bram Kragten 7e19e56c6b
Update frontend to 20221010.0 (#79994) 2022-10-10 21:40:17 +02:00
J. Nick Koston ef719cf7ef
Bump bluetooth-auto-recovery to 0.3.4 (#79971) 2022-10-09 17:56:11 -10:00
J. Nick Koston 7a1939c608
Bump dbus-fast to 1.38.0 (#79962) 2022-10-09 14:07:22 -10:00
J. Nick Koston 2decb85ee6
Bump dbus-fast to 1.33.0 (#79921) 2022-10-08 15:51:45 -10:00
Marc Mueller 647a4ac131
Update typing-extensions constraint to >=4.4.0 (#79860) 2022-10-08 18:32:46 +03:00
J. Nick Koston fca8586fb6
Bump dbus-fast to 1.29.1 (#79787)
* Bump dbus-fast to 1.28.0

Performance improvements

changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.26.0...v1.28.0

* bump again

* bump for cleanups
2022-10-07 23:50:50 +03:00
Marc Mueller 33c94b0052
Add strict typing for WLED (#79822)
* Add strict typing for WLED

* Update backoff constraint
2022-10-07 21:56:29 +03:00
Bram Kragten e2c1a36e24
Update frontend to 20221006.0 (#79745) 2022-10-06 14:01:18 -04:00
J. Nick Koston 9b4c7f5dc5
Bump dbus-fast to 1.26.0 (#79684) 2022-10-05 19:17:10 -10:00
Bram Kragten 41d2ab5b37
Update frontend to 20221005.0 (#79656) 2022-10-05 17:38:32 +02:00
J. Nick Koston 89c4bf6536
Bump dbus-fast to 1.24.0 (#79608) 2022-10-04 08:55:28 -10:00
Bram Kragten 9c97ebbcfe
Update frontend to 20221004.0 (#79602) 2022-10-04 11:51:12 -04:00
J. Nick Koston a3989b90fe
Bump dbus-fast to 1.23.0 (#79570) 2022-10-03 16:44:54 -10:00
Bram Kragten bbaac01da5
Update frontend to 20221003.0 (#79551) 2022-10-03 21:45:28 +02:00
J. Nick Koston aa3aa91358
Bump dbus-fast to 1.22.0 (#79527)
Performance improvements
https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.21.17...v1.22.0
2022-10-03 15:11:51 +02:00
J. Nick Koston da960f6ed4
Bump bluetooth dependencies (#79514) 2022-10-02 21:12:14 -04:00
Bram Kragten f28e3fb46c
Update frontend to 20221002.0 (#79491) 2022-10-02 21:30:54 +02:00
J. Nick Koston 653620345c
Bump dbus-fast to 1.20.0 (#79465) 2022-10-02 12:46:01 -04:00
J. Nick Koston 8a73795f50
Bump bluetooth-adapters to 0.5.3 (#79442) 2022-10-01 21:27:44 -04:00
J. Nick Koston d9191cf2f2
Bump dbus-fast to 1.18.0 (#79440)
Changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.17.0...v1.18.0
2022-10-01 14:45:01 -10:00
Bram Kragten 114db26fcf
Update frontend to 20220929.0 (#79317) 2022-09-29 13:22:41 -04:00
Bram Kragten bfd9201623
Update frontend to 20220928.0 (#79217) 2022-09-28 19:05:37 +02:00
J. Nick Koston 8c3e0d527d
Bump dbus-fast to 0.17.0 (#79177)
Changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.15.1...v1.17.0
2022-09-27 22:50:06 -04:00
J. Nick Koston 1f6d19bb99
Bump dbus-fast to 0.15.1 (#79111)
changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.14.0...v1.15.1
2022-09-26 21:50:08 +02:00
J. Nick Koston c89d776d37
Bump bleak-retry-connector to 2.1.3 (#79105) 2022-09-26 08:42:56 -10:00
J. Nick Koston 75f6f9b5e2
Improve performance of Bluetooth device fallback (#79078) 2022-09-26 09:12:08 -04:00
J. Nick Koston 3ad5d799c6
Bump dbus-fast to 1.14.0 (#79063) 2022-09-25 21:02:29 -04:00
Paulus Schoutsen f41b69e19e
Bump cryptography to 38 (#79067) 2022-09-25 17:39:42 -04:00
Paulus Schoutsen 0cc03c37bb
Pin pyOpenSSL to 22.0.0 (#79066) 2022-09-25 15:19:06 -04:00
J. Nick Koston 26b8e4e0fb
Bump bluetooth dependencies (#79035)
* Bump dbus-fast to 1.10.0

changelog: https://github.com/Bluetooth-Devices/dbus-fast/compare/v1.9.0...v1.10.0

* bump again

* bump again

* to 13

* bump

* try again
2022-09-24 15:44:59 -10:00
J. Nick Koston a3cb38e114
Bump dbus-fast to 1.9.0 (#79024) 2022-09-24 05:04:52 -10:00
J. Nick Koston 1b144c0e4d
Update to bleak 0.18.0 (#79008) 2022-09-23 15:09:28 -10:00
Franck Nijhof a81bb10ff9
Update yarl to 1.8.1 (#78866) 2022-09-21 13:59:42 +02:00
Franck Nijhof 774d5138ca
Update PyJWT to 2.5.0 (#78776) 2022-09-20 20:17:49 +02:00
J. Nick Koston a02eed9bd8
Bump dbus-fast to 1.5.1 (#78802) 2022-09-19 20:59:07 -04:00
J. Nick Koston 18eef5da1f
Restore history from bluetooth stack at startup (#78612) 2022-09-17 16:58:19 -05:00
Joakim Sørensen a38d998000
Bump awesomeversion from 22.8.0 to 22.9.0 (#78525) 2022-09-15 14:05:34 +02:00
Franck Nijhof eae384bbf7
Update sqlalchemy to 1.4.41 (#78507) 2022-09-15 11:54:18 +02:00
J. Nick Koston 11789dd079
Bump bleak-retry-connector to 0.17.1 (#78474) 2022-09-15 10:40:52 +02:00
Bram Kragten 9382f4be23
Update frontend to 20220907.2 (#78431) 2022-09-14 09:54:51 +02:00
Bram Kragten 4c164cc48d
Update frontend to 20220907.1 (#78404) 2022-09-13 16:15:45 -04:00
J. Nick Koston 392548fe6e
Bump bleak to 0.17.0 (#78333) 2022-09-13 14:31:34 +02:00
J. Nick Koston 05d4ece4de
Bump bluetooth-auto-recovery to 0.3.3 (#78245)
Downgrades a few more loggers to debug since the only reason we check them is to give a better error message when the bluetooth adapter is blocked by rfkill.

https://github.com/Bluetooth-Devices/bluetooth-auto-recovery/compare/v0.3.2...v0.3.3

closes #78211
2022-09-12 20:16:46 -04:00
d-walsh 0b2c3cfb99
Fix missing dependency for dbus_next (#78235) 2022-09-12 18:03:07 -05:00
J. Nick Koston e83594a179
Bump aiodiscover to 1.4.13 (#78253) 2022-09-12 12:19:45 +02:00
J. Nick Koston d77ca99791
Bump bluetooth-adapters to 0.4.1 (#78205)
Switches to dbus-fast which fixes a file descriptor leak
2022-09-11 10:06:13 +02:00
J. Nick Koston 8084d163d3
Bump bluetooth-adapters to 0.3.6 (#78138) 2022-09-09 13:56:21 -04:00
J. Nick Koston be064bfeef
Bump bluetooth-auto-recovery to 0.3.2 (#78063) 2022-09-08 19:15:26 +02:00
J. Nick Koston 2a23792b23
Bump bluetooth-adapters to 0.3.5 (#78052) 2022-09-08 09:58:53 -04:00
Bram Kragten cd5967c4c6
Update frontend to 20220907.0 (#77963) 2022-09-07 17:31:53 +02:00
Bram Kragten 97d63e5c36
Update frontend to 20220906.0 (#77910) 2022-09-06 12:54:53 -04:00
J. Nick Koston b2f86ddf76
Bump bluetooth-auto-recovery to 0.3.1 (#77898) 2022-09-06 08:48:39 -05:00
J. Nick Koston b945327056
Bump zeroconf to 0.39.1 (#77859) 2022-09-06 08:00:05 -05:00
Bram Kragten 6867029062
Update frontend to 20220905.0 (#77854) 2022-09-05 14:27:48 -04:00
Erik Montnemery 4a0cbfb550
Add the hardware integration to default_config (#77840) 2022-09-05 10:18:49 -04:00
Paulus Schoutsen cf988354db
Bump frontend to 20220902.0 (#77734) 2022-09-02 20:53:33 -04:00
J. Nick Koston e4e29aa29d
Bump bluetooth-adapters to 3.3.4 (#77705) 2022-09-02 16:17:35 -04:00
Paulus Schoutsen 8eaadc0aaf
Bump frontend to 20220901.0 (#77689) 2022-09-01 21:24:30 -04:00
J. Nick Koston e230a1f253
Bump bluetooth-adapters to 0.3.3 (#77683) 2022-09-01 21:22:12 -04:00
Paulus Schoutsen 57c766c03c
Pin Pandas 1.4.3 (#77679) 2022-09-01 15:00:50 -04:00
J. Nick Koston 34ed6d1ecb
Bump bleak to 0.16.0 (#77629)
Co-authored-by: Justin Vanderhooft <justinvdhooft@gmail.com>
2022-08-31 22:43:18 -04:00
Paulus Schoutsen 1bee9923dc
Bump frontend to 20220831.0 (#77615) 2022-08-31 19:28:58 +02:00
J. Nick Koston 935274c2e7
Bump bluetooth-auto-recovery to 0.3.0 (#77555) 2022-08-30 12:55:48 -05:00
Joakim Sørensen 0caf998547
Bump awesomeversion from 22.6.0 to 22.8.0 (#77436) 2022-08-28 14:52:23 -04:00
J. Nick Koston 8e88e039f7
Add diagnostics to bluetooth (#77393) 2022-08-27 16:41:49 -05:00
J. Nick Koston 0bd4973134
Bump bluetooth-auto-recovery to 0.2.2 (#77082) 2022-08-20 13:41:09 -10:00
J. Nick Koston ced8278e32
Auto recover when the Bluetooth adapter stops responding (#77043) 2022-08-20 11:58:14 -10:00
J. Nick Koston cd59d3ab81
Add support for multiple Bluetooth adapters (#76963) 2022-08-18 21:41:07 -04:00
Franck Nijhof b4323108b1
Update cryptography to 37.0.4 (#76853) 2022-08-17 09:41:50 +02:00
Franck Nijhof 7a82279af8
Update hass-nabucasa to 0.55.0 (#76892) 2022-08-16 21:20:47 -04:00
Paulus Schoutsen 8c62713af3
Bump frontend to 20220816.0 (#76895) 2022-08-16 20:49:27 -04:00
Franck Nijhof 3d567d2c1b
Update numpy to 1.23.2 (#76855) 2022-08-16 16:18:40 +02:00
Franck Nijhof 4e3db5bb5c
Update sqlalchemy to 1.4.40 (#76505) 2022-08-09 09:35:22 -04:00
J. Nick Koston c7838c347f
Bump zeroconf to 0.39.0 (#76328) 2022-08-07 12:11:11 -04:00
Franck Nijhof 33bf94c4b2
Update orjson to 3.7.11 (#76171) 2022-08-04 22:37:57 +03:00
J. Nick Koston 34b0e0d062
Bump bleak to 0.15.1 (#76136) 2022-08-03 07:46:54 -10:00
Zack Barett a1d495a25b
Bump Frontend to 20220802.0 (#76087) 2022-08-02 18:08:33 +02:00
J. Nick Koston 33651d14df
Bump bluetooth-adapters to 0.1.3 (#76052) 2022-08-02 08:36:27 +02:00
Allen Porter 9e76e8cef8
Bump grpc requirements to 1.48.0 (#75603) 2022-07-31 13:37:29 +02:00
J. Nick Koston 80a9659524
Update to bleak 0.15 (#75941) 2022-07-29 17:53:33 -07:00
Zack Barett a020482c23
Update frontend to 20220728.0 (#75872) 2022-07-28 18:20:10 +02:00
Bram Kragten 699fff08ed
Update frontend to 20220727.0 (#75813) 2022-07-27 13:21:07 +02:00
J. Nick Koston a813cf987b
Add bluetooth options flow to pick the adapter (#75701) 2022-07-25 16:52:35 +02:00
Marc Mueller c0e6852077
Update pip version range to 22.3 (#75572) 2022-07-24 21:11:30 +02:00
J. Nick Koston 38bccadaa6
Add support for setting up and removing bluetooth in the UI (#75600)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-07-22 13:19:53 -05:00
Franck Nijhof 2db8b154c9
Update orjson to 3.7.8 (#75484) 2022-07-20 11:39:07 +02:00
J. Nick Koston ba8a530d19
Use shared bluetooth models for BluetoothServiceInfo (#75322) 2022-07-16 21:14:23 -07:00
Zack Barett ea6bb370a6
Bump frontend to 20220707.1 (#75232) 2022-07-15 01:12:48 +02:00
puddly 5e46fa6f8b
Skip `iso4217` version 1.10, which includes a broken `__init__.pyi` file (#75200) 2022-07-14 12:38:22 -05:00
Paulus Schoutsen 1768315c50
Block bad pubnub version (#75138) 2022-07-13 14:12:53 -07:00
Franck Nijhof d697bb53c5
Update lru-dict to 1.1.8 (#74932) 2022-07-11 00:11:43 +02:00
Franck Nijhof 792c825699
Update numpy to 1.23.1 (#74851) 2022-07-10 14:58:05 -07:00
Franck Nijhof 80727ff952
Update pyudev to 0.23.2 (#74859) 2022-07-09 20:30:22 -05:00
Paulus Schoutsen 010b18be34
Bump atomicwrites (#74758) 2022-07-08 14:17:56 -07:00
Bram Kragten 29cbd9d469
Update frontend to 20220707.0 (#74625) 2022-07-07 16:19:56 +02:00
Franck Nijhof 4261595078
Update orjson to 3.7.7 (#74581) 2022-07-07 11:00:34 +02:00
Franck Nijhof 113ccfe6af
Update Home Assistant Frontend to 20220706.0 (#74520)
Bump Home Assistant Frontend to 20220706.0
2022-07-06 19:31:57 +02:00
Zack Barett 87d7c024bf
Bump Frontend to 20220705.0 (#74467) 2022-07-05 19:43:10 +02:00
Franck Nijhof b5387ed769
Update Pillow to 9.2.0 (#74371) 2022-07-04 13:16:01 +02:00
Zack Barett 382b5d5073
Bump frontend to 20220630.0 (#74266) 2022-06-30 11:01:23 -07:00
Franck Nijhof 105b1b9d58
Update numpy to 1.23.0 (#74250) 2022-06-30 10:04:59 -07:00
Franck Nijhof 42533ebbb3
Update requests to 2.28.1 (#74210) 2022-06-29 20:40:58 -05:00
Zack Barett 466ba47b35
Frontend bump to 20220629.0 (#74180) 2022-06-29 12:10:21 -05:00
Joakim Sørensen 2f60db6f80
Pin charset-normalizer to 2.0.12 (#74104) 2022-06-28 18:20:56 +02:00
J. Nick Koston df357962b3
Bump orjson to 3.7.5 (#74083) 2022-06-27 21:59:08 -07:00
Joakim Sørensen a94579107c
Bump awesomeversion from 22.5.2 to 22.6.0 (#74030) 2022-06-27 11:38:40 +02:00
Zack Barett 307666da7f
Bump Frontend to 20220624.0 (#73938) 2022-06-23 22:51:31 -05:00
J. Nick Koston 3d59088a62
Bump sqlalchemy to 1.4.38 (#73916)
Changes: https://docs.sqlalchemy.org/en/14/changelog/changelog_14.html#change-1.4.38
2022-06-23 14:13:42 -04:00
J. Nick Koston 8b067e83f7
Initial orjson support take 3 (#73849)
* Initial orjson support take 2

Still need to work out problem building wheels

--

Redux of #72754 / #32153 Now possible since the following is solved:
ijl/orjson#220 (comment)

This implements orjson where we use our default encoder.  This does not implement orjson where `ExtendedJSONEncoder` is used as these areas tend to be called far less frequently.  If its desired, this could be done in a followup, but it seemed like a case of diminishing returns (except maybe for large diagnostics files, or traces, but those are not expected to be downloaded frequently).

Areas where this makes a perceptible difference:
- Anything that subscribes to entities (Initial subscribe_entities payload)
- Initial download of registries on first connection / restore
- History queries
- Saving states to the database
- Large logbook queries
- Anything that subscribes to events (appdaemon)

Cavets:
orjson supports serializing dataclasses natively (and much faster) which
eliminates the need to implement `as_dict` in many places
when the data is already in a dataclass. This works
well as long as all the data in the dataclass can also
be serialized. I audited all places where we have an `as_dict`
for a dataclass and found only backups needs to be adjusted (support for `Path` needed to be added for backups).  I was a little bit worried about `SensorExtraStoredData` with `Decimal` but it all seems to work out from since it converts it before it gets to the json encoding cc @dgomes

If it turns out to be a problem we can disable this
with option |= [orjson.OPT_PASSTHROUGH_DATACLASS](https://github.com/ijl/orjson#opt_passthrough_dataclass) and it
will fallback to `as_dict`

Its quite impressive for history queries
<img width="1271" alt="Screen_Shot_2022-05-30_at_23_46_30" src="https://user-images.githubusercontent.com/663432/171145699-661ad9db-d91d-4b2d-9c1a-9d7866c03a73.png">

* use for views as well

* handle UnicodeEncodeError

* tweak

* DRY

* DRY

* not needed

* fix tests

* Update tests/components/http/test_view.py

* Update tests/components/http/test_view.py

* black

* templates
2022-06-22 21:59:51 +02:00
Pascal Vizeli 6cf9b22b5a
Python 3.10 / Base image 2022.06.01 (#73830)
* Python 3.10 / Base image 2022.06.01

* Update requirements

* push opencv

* we don't need numpy on core for now

* Remove unused ignore

Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-06-22 12:04:39 -05:00
Steven Looman 26641fc90d
Bump async-upnp-client to 0.31.2 (#73712) 2022-06-19 12:59:37 -05:00
J. Nick Koston d25a5f3836
Bump zeroconf to 0.38.7 (#73497) 2022-06-14 12:16:30 -10:00
Franck Nijhof 99db2a5afe
Update requests to 2.28.0 (#73406)
* Update requests to 2.28.0

* Fix mypy warning

* Fix Facebook messenger tests
2022-06-14 12:21:32 +02:00
Steven Looman 6c9408aef5
Bump async-upnp-client==0.31.1 (#73135)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-06 11:46:52 -10:00
Bram Kragten d1a8f1ae40
Update frontend to 20220601.0 (#72855) 2022-06-02 00:04:14 +02:00
J. Nick Koston e874a04319
Bump sqlalchemy to 1.4.37 (#72809)
Fixes a bug where reconnects might fail with MySQL 8.0.24+

Changelog: https://docs.sqlalchemy.org/en/14/changelog/changelog_14.html#change-1.4.37
2022-06-01 10:56:05 +02:00
Christopher Bailey 133cb7ccef
Add package constraint for pydantic (#72799)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-31 20:04:35 -10:00
J. Nick Koston c365454afb
Revert "Initial orjson support (#72754)" (#72789)
This was causing the wheels to fail to build. We need
to workout why when we don't have release pressure

This reverts commit d9d22a9556.
2022-05-31 13:51:55 -07:00
J. Nick Koston d9d22a9556
Initial orjson support (#72754) 2022-05-31 12:18:11 -07:00
Bram Kragten eda2be8489
Update frontend to 20220531.0 (#72775) 2022-05-31 11:30:33 -07:00
Joakim Sørensen 9fe4aef4bc
Bump awesomeversion from 22.5.1 to 22.5.2 (#72624) 2022-05-27 14:37:19 -07:00
uvjustin 01b5f98414
Bump httpx to 0.23.0 (#72573)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-26 21:20:37 -10:00
Bram Kragten 93f0945772
Update frontend to 20220526.0 (#72567) 2022-05-26 20:48:52 -07:00
Zack Barett a947c80f30
Bump Frontend to 20220525.0 (#72496) 2022-05-25 20:42:27 +02:00
Zack Barett b9baaf573c
Bump Frontend to 20220524.0 (#72467) 2022-05-24 18:54:11 -07:00
Zack Barett 1eaf3bb817
Bump Frontend to 20220523.0 (#72397) 2022-05-23 17:01:07 -07:00
Franck Nijhof 53d7eaa1a6
Update Pillow to 9.1.1 (#72376) 2022-05-23 20:50:39 +02:00
Franck Nijhof ea05bd8c2e
Allow for using pip 22.1(.x) (#72348) 2022-05-23 11:58:19 +02:00
Steven Looman 01c211a7f9
Bump async-upnp-client to 0.30.1 (#72332)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-23 02:06:09 -05:00
Michael Chisholm dd0f9350ac
Update async-upnp-client to 0.30.0 (#72269) 2022-05-21 09:18:47 -05:00
Paulus Schoutsen eac872331a
Bump frontend to 20220521.0 (#72257) 2022-05-20 18:06:31 -07:00
Paulus Schoutsen 18b40990a2
Bump frontend to 20220518.0 (#72106) 2022-05-18 13:22:30 -07:00
Bram Kragten d22472208f
Update frontend to 20220516.0 (#71964) 2022-05-16 21:41:43 +02:00
Franck Nijhof 514e7708b3
Update PyJWT to 2.4.0 (#71928) 2022-05-16 07:38:01 -07:00
Joakim Sørensen f7a2a6ea21
Bump awesomeversion from 22.2.0 to 22.5.1 (#71933) 2022-05-16 12:26:54 +02:00
Allen Porter cd2898886b
Upgrade grpcio to 1.46.1 (#71865) 2022-05-14 12:24:52 -07:00
Franck Nijhof 0a9a86f973
Update jinja2 to 3.1.2 (#71780) 2022-05-13 13:38:20 +02:00
Paulus Schoutsen 49d13b9981
Bump frontend to 20220504.1 (#71504) 2022-05-07 20:57:57 -07:00
J. Nick Koston 92f46a48c3
Bump zeroconf to 0.38.6 (#71447) 2022-05-07 00:01:05 +03:00
Franck Nijhof d95113c8f2
Pin grpcio-status to 1.45.0 (#71293) 2022-05-04 16:56:29 +02:00
Bram Kragten 309d8d70b1
Update frontend to 20220504.0 (#71284) 2022-05-04 14:19:16 +02:00
Zack Barett c9d49ac9e4
Bump frontend to 20220503.0 (#71262) 2022-05-03 11:51:07 -07:00