Commit Graph

60807 Commits (a7040a0487cb92d92838a707760b62310255cc7b)

Author SHA1 Message Date
starkillerOG 97f8a3fdcd
Reolink add auto tracking entities (#90063) 2023-03-27 11:04:03 +02:00
PatrickGlesner 56293ad876
Revert "Fix NMBS IndexError" (#90346) 2023-03-27 11:00:52 +02:00
epenet 94a52d5cca
Adjust tts default_options type hints (#90053)
* Adjust tts default_options type hints

* Improve other components

* Adjust

* Revert component changes

* Adjust get_tts_audio in amazon_polly
2023-03-27 11:00:23 +02:00
epenet 8c519e1abb
Use SnapshotAssertion in gree climate tests (#90339) 2023-03-27 10:01:39 +02:00
epenet 164482dc08
Use lambda in gree switch (#90316) 2023-03-27 10:00:41 +02:00
Franck Nijhof 2041a0b4f9
Merge branch 'master' into dev 2023-03-27 09:42:15 +02:00
J. Nick Koston 6a5c05e7d2
Add support for clearing the on device GATT cache to esphome (#90318) 2023-03-27 09:34:28 +02:00
Jan Bouwhuis a773c37190
Cleanup name assignment imap sensor (#90306) 2023-03-27 08:33:46 +02:00
G Johansson 624860da0e
Remove deprecated platform yaml in Scrape (#90272)
* Deprecate platform yaml

* typing

* DiscoveryInfoType
2023-03-27 08:05:30 +02:00
Paulus Schoutsen c3717f8182
Clean up voice assistant integration (#90239)
* Clean up voice assistant

* Reinstate auto-removed imports

* Resample STT audio from 44.1Khz to 16Khz

* Energy based VAD for prototyping

---------

Co-authored-by: Michael Hansen <mike@rhasspy.org>
2023-03-26 21:41:17 -05:00
J. Nick Koston 7098debe09
Fix sql doing I/O in the event loop at startup (#90335)
* Fix sql doing I/O in the event loop

* Fix sql doing I/O in the event loop

* no test query on main db

* fix mocking because it was targeting the recorder
2023-03-26 21:02:24 -04:00
Anders Melchiorsen 75e28826e0
Upgrade netgear_lte third-party library to v0.0.15 (#90324)
* Upgrade netgear_lte third-party library to 0.0.15

* Create explicit tasks for asyncio.wait()
2023-03-26 19:22:20 -04:00
J. Nick Koston 65e46e3261
Bump aioesphomeapi to 13.6.0 (#90330) 2023-03-26 12:58:07 -10:00
J. Nick Koston ce9099a386
Bump cryptography to 40.0.1 (#90326) 2023-03-26 12:30:17 -10:00
J. Nick Koston a7c796a2f7
Ensure esphome connected future is awaited when connecting is canceled (#90329) 2023-03-26 12:30:00 -10:00
J. Nick Koston a733ca96a2
Bump yalexs-ble to 2.1.9 (#90320) 2023-03-27 00:17:32 +02:00
skrynklarn bdd095423b
Add last trip time attribute to Verisure binary sensors (#89944) 2023-03-27 00:17:12 +02:00
Michael 00ce757051
Apply late review comments from #89396 in Nextcloud (#90327) 2023-03-27 00:10:57 +02:00
Raman Gupta 16028dc9bc
Add milliseconds as valid duration sensor unit (#90018) 2023-03-26 23:52:01 +02:00
epenet c06ec1f78f
Improve onewire test coverage (#90184) 2023-03-26 23:46:52 +02:00
Chris Xiao 2642d37505
Set qbittorrent integration_type to service (#90236) 2023-03-26 23:40:59 +02:00
Jens Østergaard Nielsen 0393797ade
Bump ihcsdk to 2.8.5 (#90266) 2023-03-26 23:32:06 +02:00
Allen Porter fa35867765
Bump ical to 4.5.1 and set PRODID for home assistant in local calendar ics (#90291) 2023-03-26 23:00:45 +02:00
Aaron Godfrey 745df277a0
Fix Todoist end date for all day event (#89837) 2023-03-26 22:08:36 +02:00
J. Nick Koston 8c9966aa05
Ensure esphome subscribes to bluetooth connection free before accepting connect requests (#90319) 2023-03-26 22:06:14 +02:00
Franck Nijhof 916b274ec8
Update pipdeptree to 2.7.0 (#90312) 2023-03-26 09:47:47 -10:00
Igor Santos 94cc188885
[Issue template] Point to health page for version info (#80708) 2023-03-26 21:37:24 +02:00
Michael 45262c6114
Implement config flow for nextcloud (#89396)
* implement config flow

* add tests

* fix hassfest and requirements

* abort import on connection error

* add add_suggested_values_to_schema

* mock async_setup_entry

* revert code owner change

* fix try connect in config flow

* add device info

* allow multiple instances

* fix import in config flow

* remove custom scan interval from coordinator

* applay suggestions

* apply suggestions

* take over ownership from @meichthys

* cleanup import data before passing to user step

* apply suggestions to tests

* add untested files to .coveragerc
2023-03-26 21:14:17 +02:00
J. Nick Koston 542def7f82
Bump pySwitchbot to 0.37.5 (#90317) 2023-03-26 09:10:35 -10:00
Alexey Baturin 89355e0879
Add WLED IP as a sensor (#90241)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-03-26 20:03:03 +02:00
epenet c075dac916
Fix pylint plugin for tuple[float, float] returns (#90047) 2023-03-26 19:54:21 +02:00
epenet 3b83340f6e
Improve get_browse_image type hints in media player (#90057) 2023-03-26 19:54:01 +02:00
epenet 3058cc8d56
Adjust targets type hint in notify platform (#90062) 2023-03-26 19:52:55 +02:00
epenet a036e31495
Use SnapshotAssertion in gree switch tests (#90222) 2023-03-26 19:51:48 +02:00
Niels Perfors 1baadc1d09
Update Verisure package to 2.6.1 (#89318)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: RobinBolder <33325401+RobinBolder@users.noreply.github.com>
Co-authored-by: Tobias Lindaaker <tobias@thobe.org>
2023-03-26 19:32:25 +02:00
epenet 6e92dac61f
Adjust pylint plugin for return type inheritance (#90046) 2023-03-26 18:37:26 +02:00
rikroe bec7bbeb92
Use SnapshotAssertion in bmw_connected_drive tests (#90128) 2023-03-26 16:57:19 +02:00
epenet 69a46d4002
Adjust pylint plugin for components fixtures (#90217)
* Adjust pylint plugin for components fixtures

* Adjust components

* Use MagicMock

* Adjust

* Use None
2023-03-26 15:21:19 +02:00
epenet e0ec3488d3
Adjust IntFlag handling in syrupy (#90223) 2023-03-26 14:20:05 +02:00
J. Nick Koston f8431278c8
Bump yalexs-ble to 2.1.6 (#90295) 2023-03-26 11:05:21 +02:00
Robert Svensson a0b6da33ab
Strict typing of UniFi integration (#90278)
* Fix typing of UniFi controller

* Strict typing of unifi.__init__

* Strict typing of UniFi config_flow

* Strict typing of UniFi switch

* Strict typing UniFi sensor

* Strict typing UniFi device tracker

* Strict typing of UniFi

* Fix library issues related to typing
2023-03-26 09:57:13 +02:00
G Johansson e8f3b9c09a
Remove Volvooncall integration yaml import (#90288)
Depr yaml import
2023-03-26 09:42:38 +02:00
G Johansson b3f3f234c6
Remove pushbullet platform yaml import (#90285)
Depr pushbullet yaml
2023-03-26 09:40:07 +02:00
Felix Rotthowe 40131d811c
Handle Livisi TokenExpiredException (#90258)
* reauth

* Request new Token on TokenExpiredException

* relogin using stored auth data

* fix imports

* import formatting
2023-03-26 09:35:49 +02:00
J. Nick Koston 0b8fb36a7e
Fix onvif binary sensors (#90202)
* Fix httpx client creating a new ssl context with each client

While working on https://github.com/home-assistant/core/issues/83524
it was discovered that each new httpx client creates a new ssl context

f1157dbc41/httpx/_transports/default.py (L261)

If an ssl context is passed in creating a new one is avoided here

f1157dbc41/httpx/_config.py (L110)

This change makes httpx ssl no-verify behavior match aiohttp ssl no-verify
behavior

6da04694fd/aiohttp/connector.py (L892)

aiohttp solved this by wrapping the code that generates the ssl context
in an lru_cache

* compact

* Fix onvif binary sensors

fixes #83524

needs https://github.com/hunterjm/python-onvif-zeep-async/pull/9 first
to avoid recreating the memory leak

* Fix memory leak in onvif

Work around until https://github.com/hunterjm/python-onvif-zeep-async/pull/9

followup to https://github.com/home-assistant/core/pull/83006

* move check

* onvif-zeep-async 1.2.2

* fix unloading
2023-03-25 23:28:38 -04:00
J. Nick Koston bd08d88812
Bump yalexs-ble to 2.1.5 (#90287)
Bump yalexs-ble 2.1.5

Some of the lever locks need a bit longer debounce time
since they still report stale state for up to 6s

changelog: https://github.com/bdraco/yalexs-ble/compare/v2.1.4...v2.1.5
2023-03-25 23:27:35 -04:00
J. Nick Koston 5f59bab9ec
Bump bleak to 0.20.1 (#90282)
Co-authored-by: Charles Garwood <cgarwood@newdealmultimedia.com>
2023-03-25 16:29:26 -10:00
G Johansson 53726cb4a1
Remove Magicseaweed (#90277) 2023-03-25 22:02:10 -04:00
J. Nick Koston 255f12ec05
Bump bleak-retry-connector to 3.0.2 (#90279)
changelog: https://github.com/Bluetooth-Devices/bleak-retry-connector/compare/v3.0.1...v3.0.2
2023-03-25 21:48:03 -04:00
G Johansson 92beb48a41
Add sensor platform to Sun (#81045)
* Sun sensor
* remove extra attr
* Add tests
* Add back attributes
* position sensors disabled default
* entity id
* unique id
* test init to attributes
* Fix test init
* Fix test sensor
* test unique id
* uom
* remove rising
* Remove not needed uom property
* Fix reload issue
* degree
2023-03-26 07:24:43 +08:00