Commit Graph

47655 Commits (1935e126bfb8e3155954d66464bf76094da1c18f)

Author SHA1 Message Date
andarotajo bf6d429339
Add config flow to dwd_weather_warnings (#91040)
* Add config flow to dwd_weather_warnings

* Add additional test for more coverage

* Apply code review changes

* Apply further code review changes

* Rename constant for configuration

* Apply code review changes

* Simplify config flow code
2023-05-07 10:26:39 +02:00
Thijs W b22c45ea29
Fix radio_id can be unavailable (#92698)
Allow radio_id to be unavailable
2023-05-07 08:59:36 +02:00
G Johansson 2c5cad4ca0
Clean config flow for SQL (#92332) 2023-05-07 01:42:37 +02:00
J. Nick Koston f47f49c9a1
Reduce overhead to check bluetooth logging (#92512) 2023-05-07 01:30:54 +02:00
epenet 7cb25e9710
Fix lingering timer in generic_hygrostat (#92575) 2023-05-07 01:28:10 +02:00
G Johansson 7e19bb4ee0
Minor cleanup config flow Workday (#92163) 2023-05-07 00:55:06 +02:00
J. Nick Koston c624e50b60
Update onvif error checking to use explict None check (#92642) 2023-05-07 00:47:15 +02:00
Mick Vleeshouwer 4a2af45e37
Change IO_OUTLET_ENGINE sensor from Liter to Cubic Meters Per Hour in Overkiz (#92704) 2023-05-07 00:44:26 +02:00
Mick Vleeshouwer 99ab7c5a37
Bump pyoverkiz to 1.7.8 (#92702) 2023-05-07 00:36:21 +02:00
J. Nick Koston d05724a42a
Fix onvif reauth when device returns a http 401/403 error (#92690) 2023-05-07 00:12:24 +02:00
G Johansson d66305ddd3
Remove dlink yaml import (#92590) 2023-05-07 00:01:58 +02:00
Aaron Bach c634d8f940
Bump `aionotion` to 2023.05.1 (#92697) 2023-05-06 13:11:57 -05:00
G Johansson 9538d8bcfe
Bump pysensibo to 1.0.28 (#92684) 2023-05-06 12:02:09 -05:00
Luke 3f8ffcae73
Bump anova_wifi to 0.10.0 to add better debug (#92686)
add more debig
2023-05-06 18:32:44 +02:00
G Johansson 080ce51ed9
Remove issue from pushover (#92595)
* Remove issue pushover

* Remove strings
2023-05-06 16:49:34 +02:00
J. Nick Koston 4c3e98b77c
Fix parallel_updates being acquired too late for entity executor jobs (#92681)
* Fix parallel_updates being acquired too late for entity executor jobs

* tweak
2023-05-06 16:46:00 +02:00
Artem Draft d816da9355
Add media_player platform to Android TV Remote (#91677) 2023-05-06 09:18:34 -05:00
Christoffer Poulsen 053eaad2bd
Add charging target sensor to bmw_connected_drive (#92628)
* Add chaging status sensor

* Add unit type based on review
2023-05-06 11:57:53 +02:00
Joakim Plate f9fe3f4af4
Add nibe heat pump water heater entities (#79099)
* Add water heater platform

* Enable water heater platform

* No need to set target temp feature

* Split out preset mode

* Switch to parameters from lib

* Drop presets

* Add missing callback to coordinator update

* Drop support for heatpump activity

- Current entity model does not support it

* Handle s series lack of mappings

* Protect for missing operation modes to set
2023-05-06 11:41:11 +02:00
Sebastian Lövdahl e680ec6247
Remove deprecated Vallox YAML configuration (#91096)
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-05-06 10:23:14 +02:00
rikroe 7e041a95c9
Bump bimmer_connected to 0.13.3 (#92648)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2023-05-06 10:05:57 +02:00
rikroe 9a65a89aa4
Improve internet/API error handling for BMW (#90274)
* Improve internet/API error handling

* Switch to library exceptions for HTTP status errors

* Remove duplicate logging after reconnect

* Raise UpdateFailed instead of custom log handling

---------

Co-authored-by: rikroe <rikroe@users.noreply.github.com>
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-05-06 10:00:37 +02:00
Guido Schmitz b195d5d1db
Assemble platforms upfront in devolo Home Network (#80126)
* Assemble platforms upfront in devolo Home Network

* Add tests

* Optimize mocks

* Use async_forward_entry_setups

* Adapt tests to newly added switch platform
2023-05-05 23:01:57 +02:00
Tom Harris bdd786b1f0
Cleanup Insteon to use Platform vs DOMAIN constants (#92366)
* Utilize Platform constant

* Use Platform constant
2023-05-05 21:32:51 +02:00
Guido Schmitz 2b3f7ad70d
Add diagnostics to devolo Home Control (#86069)
* Add diagnostics to devolo Home Control

* Apply feedback
2023-05-05 21:24:42 +02:00
mkmer 774f1c8ef9
Dont reload integration on auth error in Aladdin Connect (#92399)
Remove reload on auth error
2023-05-05 21:22:55 +02:00
mkmer 7a57435e8c
Address connection error wording in Honeywell (#92488)
Connection error wording in Honeywell
2023-05-05 21:21:22 +02:00
Luke f326dd919b
Roborock continue on failed mqtt disconnect (#92502)
continue on async disconnect failure
2023-05-05 21:20:30 +02:00
G Johansson 82b4368d1d
Bump pytrafikverket to 0.3.1 (#92425)
* Bump pytrafikverket 0.3.0

* 0.3.1

* mypy

* Fix exceptions
2023-05-05 21:19:16 +02:00
G Johansson 85dcd4007c
Remove yaml config issue from steam_online (#92592)
Remove yaml config issue from steam
2023-05-05 21:02:40 +02:00
G Johansson e597b3a862
Remove issue from skybell (#92602)
Remove issue
2023-05-05 20:56:49 +02:00
Steve Easley 6bbcf2f689
Add JVC Projector integration (#84748)
* Initial commit of jvcprojector

* Renamed domain

* Initial commit

* Support for v1.0.6 device api

* Fixed failing test

* Removed TYPE_CHECKING constant

* Removed jvc brand

* Removed constant rename

* Renaming more constants

* Renaming yet more constants

* Improved config_flow tests

* More changes based on feedback

* Moved config_flow dependency

* Removed default translation title

* Removed translation file

* Order manifest properly
2023-05-05 20:44:53 +02:00
J. Nick Koston bcbc8539a6
Fix missing ONVIF events when switching from PullPoint to webhooks (#92627)
We now let the PullPoint subscription expire instead of explicitly
unsubscribing when pausing the subscription. We will still unsubscribe
it if Home Assistant is shutdown or the integration is reloaded

Some cameras will cancel ALL subscriptions when we do an unsubscribe
so we want to let the PullPoint subscription expire instead
of explicitly cancelling it.
2023-05-05 14:38:36 -04:00
J. Nick Koston c8c1466c06
Fix duplicate ONVIF sensors (#92629)
Some cameras do not configure the video source correctly
when using webhooks but work fine with PullPoint which
results in duplicate sensors
2023-05-05 14:32:55 -04:00
Bram Kragten cd02a67847
Update frontend to 20230503.3 (#92617) 2023-05-05 14:27:48 -04:00
Joost Lekkerkerker 6d1e607756
Lower scan interval for OpenSky (#92593)
* Lower scan interval for opensky to avoid hitting rate limit

* Lower scan interval for opensky to avoid hitting rate limit

* Update homeassistant/components/opensky/sensor.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/opensky/sensor.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-05-05 14:27:28 -04:00
J. Nick Koston 9a589a3a54
Improve reliability of ONVIF subscription renewals (#92551)
* Improve reliablity of onvif subscription renewals

upstream changelog: https://github.com/hunterjm/python-onvif-zeep-async/compare/v2.0.0...v2.1.0

* ```
Traceback (most recent call last):
  File "/Users/bdraco/home-assistant/venv/lib/python3.10/site-packages/onvif/client.py", line 75, in _async_wrap_connection_error_retry
    return await func(*args, **kwargs)
  File "/Users/bdraco/home-assistant/homeassistant/components/onvif/event.py", line 441, in _async_call_pullpoint_subscription_renew
    await self._pullpoint_subscription.Renew(SUBSCRIPTION_RELATIVE_TIME)
  File "/Users/bdraco/home-assistant/venv/lib/python3.10/site-packages/zeep/proxy.py", line 64, in __call__
    return await self._proxy._binding.send_async(
  File "/Users/bdraco/home-assistant/venv/lib/python3.10/site-packages/zeep/wsdl/bindings/soap.py", line 156, in send_async
    response = await client.transport.post_xml(
  File "/Users/bdraco/home-assistant/venv/lib/python3.10/site-packages/zeep/transports.py", line 235, in post_xml
    response = await self.post(address, message, headers)
  File "/Users/bdraco/home-assistant/venv/lib/python3.10/site-packages/zeep/transports.py", line 220, in post
    response = await self.client.post(
  File "/Users/bdraco/home-assistant/venv/lib/python3.10/site-packages/httpx/_client.py", line 1845, in post
    return await self.request(
  File "/Users/bdraco/home-assistant/venv/lib/python3.10/site-packages/httpx/_client.py", line 1530, in request
    return await self.send(request, auth=auth, follow_redirects=follow_redirects)
  File "/Users/bdraco/home-assistant/venv/lib/python3.10/site-packages/httpx/_client.py", line 1617, in send
    response = await self._send_handling_auth(
  File "/Users/bdraco/home-assistant/venv/lib/python3.10/site-packages/httpx/_client.py", line 1645, in _send_handling_auth
    response = await self._send_handling_redirects(
  File "/Users/bdraco/home-assistant/venv/lib/python3.10/site-packages/httpx/_client.py", line 1682, in _send_handling_redirects
    response = await self._send_single_request(request)
  File "/Users/bdraco/home-assistant/venv/lib/python3.10/site-packages/httpx/_client.py", line 1719, in _send_single_request
    response = await transport.handle_async_request(request)
  File "/Users/bdraco/home-assistant/venv/lib/python3.10/site-packages/httpx/_transports/default.py", line 352, in handle_async_request
    with map_httpcore_exceptions():
  File "/opt/homebrew/Cellar/python@3.10/3.10.10_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/contextlib.py", line 153, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/Users/bdraco/home-assistant/venv/lib/python3.10/site-packages/httpx/_transports/default.py", line 77, in map_httpcore_exceptions
    raise mapped_exc(message) from exc
httpx.ReadTimeout
```

* adjust timeouts for slower tplink cameras

* tweak

* more debug

* tweak

* adjust message

* tweak

* Revert "tweak"

This reverts commit 10ee2a8de7.

* give time in seconds

* revert

* revert

* Update homeassistant/components/onvif/event.py

* Update homeassistant/components/onvif/event.py
2023-05-05 14:26:58 -04:00
Jan Bouwhuis 53e533af6b
Improve and enforce type hints for imap (#92325) 2023-05-05 19:21:57 +02:00
G Johansson e41a75f617
Remove yaml import rainbird (#92599) 2023-05-05 16:53:40 +02:00
G Johansson 835be4758a
Remove deprecated service for rainbird (#92601) 2023-05-05 07:22:07 -07:00
epenet 70bfbde8aa
Add ability to shutdown a coordinator on STOP (#92611) 2023-05-05 16:05:03 +02:00
ollo69 8001ed865d
Fix switchbot binary sensor translation key (#92557) 2023-05-05 08:04:11 -05:00
epenet b222c58642
Fix hassio get_os_info retry (#92569) 2023-05-05 08:43:56 -04:00
epenet 802e907a35
Migrate rest switch to httpx (#90768) 2023-05-05 14:43:39 +02:00
Erik Montnemery 5843c1fa3b
Bump hatasmota to 0.6.5 (#92585)
* Bump hatasmota to 0.6.5

* Fix tests
2023-05-05 08:40:30 -04:00
epenet 176820d665
Fix lingering timer in freedns (#92572)
* Fix lingering timer in freedns

* type hint
2023-05-05 14:11:31 +02:00
Paulus Schoutsen 19dcc8c88f
Re-run expose entities migration if first time failed (#92564)
* Re-run expose entities migration if first time failed

* Count number of exposed entities

* Add tests

---------

Co-authored-by: Erik <erik@montnemery.com>
2023-05-05 08:11:09 -04:00
epenet 6f3c9324ac
Fix lingering timer in hdmi_cec (#92579) 2023-05-05 14:10:44 +02:00
G Johansson e55f2173f8
Use selectors in Trafikverket Train (#92554)
Use selectors
2023-05-05 13:29:00 +02:00
Eduard van Valkenburg 1976232d5a
Fix for SIA Code not being handled well (#92469)
* updated sia requirements

* updates because of changes in package

* linting and other small fixes

* fix for unknown code

* added same to alarm_control_panel
2023-05-05 10:47:49 +02:00
epenet 603aa759d3
Fix KeyError in rest (#92464) 2023-05-05 09:05:31 +02:00
DDanii 9ce062411d
Fix transmission error handling (#91548)
* transmission error handle fix

* added unexpected case tests
2023-05-05 08:42:51 +02:00
Erik Montnemery b6664ce367
Improve cloud migration (#92520)
* Improve cloud migration

* Tweak

* Use entity_ids func

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-05-04 23:10:43 -04:00
J. Nick Koston 3f630493ff
Allow duplicate state updates when force_update is set on an esphome sensor (#92553)
* Allow duplicate states when force_update is set on an esphome sensor

fixes #91221

* Update homeassistant/components/esphome/entry_data.py

Co-authored-by: pdw-mb <pdw@mythic-beasts.com>

---------

Co-authored-by: pdw-mb <pdw@mythic-beasts.com>
2023-05-04 22:21:42 -04:00
J. Nick Koston 6dd88a767b
Bump elkm1-lib to 2.2.2 (#92560)
changelog: https://github.com/gwww/elkm1/compare/2.2.1...2.2.2

fixes #92467
2023-05-04 22:20:25 -04:00
J. Nick Koston 785faf4380
Bump aioesphomeapi to 13.7.3 to fix disconnecting while handshake is in progress (#92537)
Bump aioesphomeapi to 13.7.3

fixes #92432
2023-05-04 22:18:20 -04:00
puddly 5f22b0c6cc
Handle invalid ZHA cluster handlers (#92543)
* Do not crash on startup when an invalid cluster handler is encountered

* Add a unit test
2023-05-04 20:02:17 -04:00
Franck Nijhof 9e529d1d59
Refactor of unique ID and entity description handling in Rituals Perfume Genie (#92545) 2023-05-04 21:54:28 +02:00
rrooggiieerr 7b8936b420
Add support for setting NumberMode using NumberEntityDescription (#92427) 2023-05-04 21:41:32 +02:00
Franck Nijhof 7d00804f13
Add entity descriptions to selects of Rituals Perfume Genie (#92522) 2023-05-04 20:13:04 +02:00
Franck Nijhof 80e9219546
Add entity descriptions to sensors of Rituals Perfume Genie (#92527) 2023-05-04 20:12:52 +02:00
Erik Montnemery a72bcfde4a
Refactor multipan options flow (#92175) 2023-05-04 19:50:43 +02:00
Jan Bouwhuis 56dcb908bc
Wait for mqtt client to become available (#92524) 2023-05-04 19:48:32 +02:00
Franck Nijhof 677ab5837f
Add entity descriptions to switch of Rituals Perfume Genie (#92531) 2023-05-04 19:20:58 +02:00
Franck Nijhof dd3ae96d5f
Add entity descriptions to numbers of Rituals Perfume Genie (#92486) 2023-05-04 19:13:05 +02:00
epenet 628236209b
Fix lingering timer in cloud (#92498) 2023-05-04 19:10:44 +02:00
J. Nick Koston 7987b00d89
Fix blocking I/O in the event loop when starting ONVIF (#92518) 2023-05-04 12:05:29 -05:00
epenet e0903b8bc4
Fix lingering timer in duckdns (#92516) 2023-05-04 19:03:54 +02:00
epenet 4d77c6f27f
Fix lingering timer in elkm1 (#92517) 2023-05-04 19:03:26 +02:00
epenet b6930c0f04
Fix lingering timer in demo geo_location (#92514) 2023-05-04 19:02:52 +02:00
Erik Montnemery 887e656570
Small improvement of assist_pipeline test coverage (#92115) 2023-05-04 19:01:41 +02:00
Francesco Carnielli 57af4672d5
Fix power sensor state_class in Netatmo integration (#92468) 2023-05-04 17:36:31 +02:00
karwosts 8237d6b9f0
Fix scene service examples (#92501) 2023-05-04 17:35:52 +02:00
Bram Kragten d66fabb5b5
Update frontend to 20230503.2 (#92508) 2023-05-04 10:22:48 -04:00
J. Nick Koston 36cb8a7184
Bump bluetooth-auto-recovery 1.1.2 (#92495)
Improve handling when getting the power state times out

https://github.com/Bluetooth-Devices/bluetooth-auto-recovery/compare/v1.1.1...v1.1.2
2023-05-04 09:53:43 -04:00
Erik Montnemery e14be8b0ab
Force migration of cloud settings to exposed_entities (#92499) 2023-05-04 09:53:28 -04:00
J. Nick Koston 9b74cb9507
Fix lifx light strips when color zones are not initially populated (#92487)
fixes #92456
2023-05-04 08:55:47 -04:00
epenet 8a9b9c35e0
Fix lingering timer in lifx (#92476)
* Fix lingering timer in lifx

* Remove duplicate code
2023-05-04 14:06:38 +02:00
Franck Nijhof a73a66bb0c
Add entity descriptions to binary sensors of Rituals Perfume Genie (#92485) 2023-05-04 13:54:57 +02:00
J. Nick Koston 41515249a0
Fix onvif cameras with invalid encodings in device info (#92450)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-05-04 06:48:13 -05:00
epenet 95023ecf08
Fix lingering timer in rfxtrx (#92461) 2023-05-04 12:27:17 +02:00
Erik Montnemery 78da1168db
Adjust type hints in CloudClient (#92465) 2023-05-04 12:26:52 +02:00
Franck Nijhof 46bf0e59f3
Move naming of entities in Rituals Perfume Genie (#92482) 2023-05-04 12:25:22 +02:00
J. Nick Koston 5ee6595998
Bump dbus-fast to 1.86.0 (#92435) 2023-05-04 12:24:26 +02:00
epenet 9fca594777
Fix lingering timer in rflink (#92460) 2023-05-04 12:23:45 +02:00
Aaron Bach b0b53574f9
Bump `aionotion` to 2023.05.0 (#92451) 2023-05-04 12:21:58 +02:00
epenet 71b86e9f97
Fix lingering timer in sabnzbd (#92462) 2023-05-04 12:19:40 +02:00
J. Nick Koston 88019d70fe
Bump zeroconf to 0.62.0 (#92444) 2023-05-04 12:18:08 +02:00
J. Nick Koston 322c5152be
Fix onvif setup when time set service is not functional (#92447) 2023-05-04 11:50:12 +02:00
epenet 7dc5d131b4
Fix lingering timer in jewish_calendar (#92470) 2023-05-04 11:38:24 +02:00
epenet 8ab8b7152a
Fix lingering timer in kostal_plenticore (#92473) 2023-05-04 11:27:17 +02:00
epenet 1cca6f7c9e
Fix lingering timer in shelly (#92466) 2023-05-04 10:34:15 +02:00
J. Nick Koston ef9bcd9285
Bump zeroconf to 0.61.0 (#92424)
changelog: https://github.com/python-zeroconf/python-zeroconf/compare/0.60.0...0.61.0
2023-05-04 00:09:35 +03:00
Michael Hansen aa78962a9a
Pass OPUS payload ID through VoIP (#92421) 2023-05-03 19:43:14 +02:00
Erik Montnemery a9d8bc989e
Migrate cloud settings for all Google entities (#92416) 2023-05-03 18:56:48 +02:00
Erik Montnemery 51be90d87e
Migrate cloud settings for all Alexa entities (#92413)
* Migrate cloud settings for all Alexa entities

* Also set settings for unknown entities
2023-05-03 12:39:27 -04:00
J. Nick Koston 4abf0ddeb9
Bump bluetooth-auto-recovery to 1.1.1 (#92412)
* Bump bluetooth-auto-recovery to 1.1.0

https://github.com/Bluetooth-Devices/bluetooth-auto-recovery/releases/tag/v1.1.0

In https://github.com/home-assistant/operating-system/issues/2485 is was discovered that a more aggressive reset strategy is needed due to a yet unsolved bug in the linux 6.1.x kernel series

* bump to 1.1.1 since event 47 cannot be decoded (newer kernels only)
2023-05-03 12:18:47 -04:00
Michael Hansen 74560ab139
Skip unexposed entities in intent handlers (#92415)
* Filter intent handler entities by exposure

* Add test for skipping unexposed entities
2023-05-03 12:18:31 -04:00
Bram Kragten 2ae3e90238
Update frontend to 20230503.1 (#92410) 2023-05-03 17:27:42 +02:00
Erik Montnemery f089f52504
Update cloud WS API for getting entity (#92409)
* Update cloud WS API for getting entity

* Adjust comment
2023-05-03 17:06:42 +02:00
Erik Montnemery b71f98e8b7
Include all entities in cloud lists (#92406) 2023-05-03 16:14:04 +02:00
Erik Montnemery 31de1b17e8
Allow setting google disable 2fa flag on any entity (#92403)
* Allow setting google disable 2fa flag on any entity

* Fix test

* Include disable_2fa flag in cloud/google_assistant/entities/get
2023-05-03 09:55:38 -04:00
J. Nick Koston 20942ab26f
Handle webhook URL rejection in onvif (#92405) 2023-05-03 15:46:53 +02:00
Bram Kragten 9162bad4da
Update frontend to 20230503.0 (#92402) 2023-05-03 15:46:14 +02:00
Erik Montnemery 0126cfa9d9
Allow exposing any entity to the default conversation agent (#92398)
* Allow exposing any entity to the default conversation agent

* Tweak

* Fix race, update tests

* Update tests
2023-05-03 09:45:54 -04:00
David F. Mulcahey 6a8668effc
Bump ZHA quirks (#92400) 2023-05-03 08:35:53 -04:00
repaxan 1d6b08e194
Add ZHA binding for window coverings (#92387) 2023-05-03 08:35:20 -04:00
Erik Montnemery 4860a8d1e8
Don't use storage collection helper in ExposedEntities (#92396)
* Don't use storage collection helper in ExposedEntities

* Fix tests
2023-05-03 12:39:22 +02:00
Artem Draft d417cbaf0f
Bump pybravia to 0.3.3 (#92378) 2023-05-03 08:52:56 +02:00
Paulus Schoutsen 1baa4d5109
Fix deserialize bug + add test coverage (#92382) 2023-05-02 22:38:54 -04:00
Bram Kragten 5ed41d3d51
Update frontend to 20230502.0 (#92373) 2023-05-02 22:41:35 +02:00
Michael Hansen 17db1aa38b
Bump voip-utils to 0.0.7 (#92372) 2023-05-02 22:39:41 +02:00
Erik Montnemery e3c16e634b
Allow exposing entities not in the entity registry to assistants (#92363) 2023-05-02 22:08:09 +02:00
John Pettitt cc4e741cfa
Increase default timeout in sense (#90556)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-05-02 09:50:34 -05:00
J. Nick Koston a9d992c2de
Add support for visitor detections to onvif (#92350) 2023-05-02 12:19:27 +02:00
Raman Gupta 9f7c085652
Clean up zwave_js.cover (#92353) 2023-05-02 12:18:19 +02:00
J. Nick Koston c0fa078b0b
Start onvif events later (#92354) 2023-05-02 12:17:01 +02:00
J. Nick Koston 2636a46a5f
Bump ulid-transform to 0.7.2 (#92344) 2023-05-02 08:46:14 +02:00
J. Nick Koston 86f8147782
Bump zeroconf to 0.60.0 (#92335) 2023-05-01 22:51:30 +02:00
Bram Kragten a6d6d59c93
Update frontend to 20230501.0 (#92339) 2023-05-01 22:49:38 +02:00
Franck Nijhof a7088e767e
Migrate unique IDs of Rituals Perfume Genie (#92342)
* Migrate unique IDs of Rituals Perfume Genie

* Fix doc string
2023-05-01 22:46:38 +02:00
Michael Hansen 40896514eb
Bump voip-utils to 0.0.6 (#92334) 2023-05-01 22:43:27 +02:00
Michael Hansen b1d6f3afc0
Allow configuring SIP port in VoIP (#92210)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-05-01 22:42:27 +02:00
Marc Mueller d66056cfab
Improve fritz generic typing (#92327) 2023-05-01 21:11:40 +02:00
J. Nick Koston 324df197d1
Avoid starting ONVIF PullPoint if the camera reports its unsupported (#92333) 2023-05-01 18:33:52 +02:00
David F. Mulcahey 2bc2c4a651
Don't poll ZHA electrical measurement sensors unnecessarily (#92330) 2023-05-01 18:32:40 +02:00
Paulus Schoutsen adaae46178
Add voip configuration url (#92326) 2023-05-01 16:20:37 +02:00
G Johansson 9795699669
Fix db_url issue in SQL (#92324)
* db_url fix

* Add test

* assert entry.options
2023-05-01 16:17:01 +02:00
Luke 7b5d26d3fa
Bump anova version (#92206)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-05-01 11:15:29 +02:00
J. Nick Koston ede1f08c51
Reduce size of migration transactions to accommodate slow/busy systems (#92312)
* Reduce size of migration transactions to accommodate slow/busy systems

related issue #91489

* handle overloaded RPIs better
2023-04-30 23:18:00 -04:00
J. Nick Koston 30dd8b9f3a
Retry onvif setup when it is unexpectedly cancelled (#92313)
* Retry onvif setup when it is unexpectedly cancelled

fixes #92308

* Retry onvif setup when it is unexpectedly cancelled

fixes #92308
2023-04-30 23:12:01 -04:00
J. Nick Koston 32f6dd4a82
Bump sqlalchemy to 2.0.12 (#92315)
changelog: https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.12
2023-04-30 23:11:29 -04:00
Allen Porter e7433c42b9
Cleanup code from nest yaml migration and OOB auth deprecation (#92311) 2023-04-30 18:00:40 -07:00
Raman Gupta c0d0c89293
Add `time` platform (#81949) 2023-04-30 22:33:51 +02:00
Allen Porter 6f63ed07f9
Deprecate legacy Works With Nest (again) (#92304) 2023-04-30 21:56:29 +02:00
Franck Nijhof 5cbf08f89a
Only store and pass around coordinator in Rituals Perfume Genie (#92298) 2023-04-30 21:32:14 +02:00
J. Nick Koston bb4c03ce3c
Avoid returning statistics columns that the metadata knows are impossible (#92095) 2023-04-30 20:46:26 +02:00
Raman Gupta d138bbe26e
Add `date` platform (#81948) 2023-04-30 20:34:57 +02:00
J. Nick Koston f95f2d1cfc
Prevent pysnmp from being installed as it does not work with newer python (#92292) 2023-04-30 20:13:47 +02:00
stickpin 9317ddb1c7
Home Connect add WasherDryer support (#90673) 2023-04-30 18:50:51 +02:00
Joost Lekkerkerker cd52e05075
Move lastfm constants to separate file (#92289) 2023-04-30 18:09:02 +02:00
J. Nick Koston ed286fc223
Fix august lock state when API reports locking and locked with the same timestamp (#92276) 2023-04-30 18:08:12 +02:00
J. Nick Koston 4fcf05c202
Ensure onvif webhook can be registered (#92295) 2023-04-30 18:06:38 +02:00
J. Nick Koston a08cda3cfe
Bump beacontools to fix conflict with construct<2.10 and >=2.8.16 (#92293) 2023-04-30 18:06:09 +02:00
Maximilian 696e714190
Bump pynina to 0.3.0 (#92286) 2023-04-30 18:05:22 +02:00
Jan Bouwhuis 7a43b29f38
Fix mqtt not available when starting snips (#92296) 2023-04-30 17:35:24 +02:00
Franck Nijhof 2cc31d6a5b
Extract Rituals Perfume Genie DataUpdateCoordinator into module (#92284) 2023-04-30 17:07:55 +02:00
J. Nick Koston b629bf37bb
Bump bleak to 0.20.2 (#92294) 2023-04-30 17:07:00 +02:00
Robert Hillis 464c81ec9d
Add missing fstrings in Local Calendar (#92288) 2023-04-30 06:15:57 -07:00
Tomer Figenblat 2cb73b4a1f
Remove myself from switcher_kis codeowners (#92277)
chore: remove myself switcher_kis codeowners

Signed-off-by: Tomer Figenblat <tomer@tomfi.info>
2023-04-30 11:19:46 +03:00
J. Nick Koston 193b2694a9
Handle AttributeError from wrong port in ONVIF config flow (#92272)
* Handle AttributeError from wrong port in ONVIF config flow

fixes
```
2023-04-29 19:17:22.289 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/Users/bdraco/home-assistant/venv/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
    resp = await request_handler(request)
  File "/Users/bdraco/home-assistant/venv/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
  File "/Users/bdraco/home-assistant/venv/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
  File "/Users/bdraco/home-assistant/homeassistant/components/http/security_filter.py", line 85, in security_filter_middleware
    return await handler(request)
  File "/Users/bdraco/home-assistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
    return await handler(request)
  File "/Users/bdraco/home-assistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
    return await handler(request)
  File "/Users/bdraco/home-assistant/homeassistant/components/http/ban.py", line 80, in ban_middleware
    return await handler(request)
  File "/Users/bdraco/home-assistant/homeassistant/components/http/auth.py", line 235, in auth_middleware
    return await handler(request)
  File "/Users/bdraco/home-assistant/homeassistant/components/http/view.py", line 146, in handle
    result = await result
  File "/Users/bdraco/home-assistant/homeassistant/components/config/config_entries.py", line 180, in post
    return await super().post(request, flow_id)
  File "/Users/bdraco/home-assistant/homeassistant/components/http/data_validator.py", line 72, in wrapper
    result = await method(view, request, data, *args, **kwargs)
  File "/Users/bdraco/home-assistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
    result = await self._flow_mgr.async_configure(flow_id, data)
  File "/Users/bdraco/home-assistant/homeassistant/data_entry_flow.py", line 271, in async_configure
    result = await self._async_handle_step(
  File "/Users/bdraco/home-assistant/homeassistant/data_entry_flow.py", line 367, in _async_handle_step
    result: FlowResult = await getattr(flow, method)(user_input)
  File "/Users/bdraco/home-assistant/homeassistant/components/onvif/config_flow.py", line 233, in async_step_configure
    errors, description_placeholders = await self.async_setup_profiles()
  File "/Users/bdraco/home-assistant/homeassistant/components/onvif/config_flow.py", line 277, in async_setup_profiles
    await device.update_xaddrs()
  File "/Users/bdraco/home-assistant/venv/lib/python3.10/site-packages/onvif/client.py", line 433, in update_xaddrs
    capabilities = await devicemgmt.GetCapabilities({"Category": "All"})
  File "/Users/bdraco/home-assistant/venv/lib/python3.10/site-packages/zeep/proxy.py", line 64, in __call__
    return await self._proxy._binding.send_async(
  File "/Users/bdraco/home-assistant/venv/lib/python3.10/site-packages/zeep/wsdl/bindings/soap.py", line 164, in send_async
    return self.process_reply(client, operation_obj, response)
  File "/Users/bdraco/home-assistant/venv/lib/python3.10/site-packages/zeep/wsdl/bindings/soap.py", line 204, in process_reply
    doc = parse_xml(content, self.transport, settings=client.settings)
  File "/Users/bdraco/home-assistant/venv/lib/python3.10/site-packages/zeep/loader.py", line 51, in parse_xml
    docinfo = elementtree.getroottree().docinfo
AttributeError: NoneType object has no attribute getroottree
```

* port

* Revert "port"

This reverts commit 4693f3f33a.

* misfire
2023-04-29 21:17:56 -04:00
J. Nick Koston 1a82b353e0
Auto repair incorrect collation on MySQL schema (#92270)
* Auto repair incorrect collation on MySQL schema

As we do more union queries in 2023.5.x if there is a mismatch
between collations on tables, they will fail with an error
that is hard for the user to figure out how to fix

`Error executing query: (MySQLdb.OperationalError) (1271, "Illegal mix of collations for operation UNION")`

This was reported in the #beta channel and by PM from others
so the problem is not isolated to a single user

https://discord.com/channels/330944238910963714/427516175237382144/1100908739910963272

* test with ascii since older maraidb versions may not work otherwise

* Revert "test with ascii since older maraidb versions may not work otherwise"

This reverts commit 787fda1aefcd8418a28a8a8f430e7e7232218ef8.t

* older version need to check collation_server because the collation is not reflected if its the default
2023-04-29 21:17:09 -04:00
Franck Nijhof 3a5a9a90b2
Update orjson to 3.8.11 (#92228) 2023-04-29 20:22:33 -04:00
Franck Nijhof 3363830ede
Fix incorrect entity category for SmartThings sensors (#92232) 2023-04-29 20:21:55 -04:00
Franck Nijhof ed3c1d9b59
Fix incorrect entity category for huawei_lte sensors (#92235) 2023-04-29 20:21:38 -04:00
Robert Hillis a5044227a8
Fix Google Mail Sensor key error (#92262)
Fix Google Mail key error
2023-04-29 20:20:43 -04:00
Michael 895c0be82c
Fix call deflection update in Fritz!Tools (#92267)
fix
2023-04-29 20:19:41 -04:00
Franck Nijhof e2636587f8
Add myself as codeowner to Rituals perfume genie (#92261) 2023-04-29 18:49:52 -05:00
Jan Bouwhuis 9468aed689
Fix MQTT certificate files setup (#92266) 2023-04-30 00:01:44 +02:00
Franck Nijhof bff7119230
Update requests to 2.29.0 (#92231) 2023-04-29 23:44:20 +02:00
Ian 1f2da1217b
NextBus: Correct iot_class (#92208) 2023-04-29 21:41:35 +02:00
shbatm d9e0681123
Remove deprecated ISY994 Insteon and variable sensor entities (#92255) 2023-04-29 21:40:58 +02:00
J. Nick Koston b0b4134ded
Handle onvif errors when detail is returned as bytes (#92259) 2023-04-29 21:33:25 +02:00
J. Nick Koston f38d45151a
Pin `pyasn1` and `pysnmplib` since `pyasn1` 0.5.0 has breaking changes and `pysnmp-pyasn1` and `pyasn1` are both using the `pyasn1` namespace (#92254) 2023-04-29 21:32:57 +02:00
Michael Hansen c35aabe497
Add VoIP error tone (#92260)
* Play error tone when pipeline error occurs

* Play listening tone at the start of each cycle
2023-04-29 15:24:56 -04:00
Franck Nijhof b9f2b0ad8b
Update pyfibaro to 0.7.1 (#92248) 2023-04-29 19:06:14 +02:00
J. Nick Koston 11131070ab
Bump pyunifiprotect to 4.8.3 (#92251) 2023-04-29 18:59:44 +02:00
IceBotYT d23bd2ad68
Add diagnostics to LaCrosse View (#92212) 2023-04-29 18:53:40 +02:00
Michael ac4d9216d6
Turn AVM FRITZ!Box Tools call deflection switches into coordinator entities (#91913)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-04-29 18:51:38 +02:00
IceBotYT d8bc37c695
Bump LaCrosse View to version 1.0.1 (#92213) 2023-04-29 18:50:22 +02:00
Bouwe Westerdijk e08d5d240d
Bump plugwise to v0.31.1 (#92249) 2023-04-29 18:49:15 +02:00
J. Nick Koston e136070718
Speed up purging the database (#92247) 2023-04-29 18:45:14 +02:00
Mick Vleeshouwer 0e0ab4427b
Revert "Add silent option for DynamicShutter (ogp:Shutter) in Overkiz" (#91354) 2023-04-29 18:34:21 +02:00
Diogo Gomes a48a07bd8d
Removing self from SQL sensor CODEOWNERS (#92250) 2023-04-29 18:27:39 +02:00
Franck Nijhof 37723792c7
Fix unknown/unavailable source sensor in Filter entities (#92241) 2023-04-29 17:47:04 +02:00
rikroe 1028841690
Move BMW Target SoC to number platform (#91081)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2023-04-29 17:41:34 +02:00
Franck Nijhof acc4b001cd
Fix history YAML deprecation (#92238) 2023-04-29 08:02:34 -04:00
Franck Nijhof 06c4da2bb6
Fix incorrect entity category for flux_led sensors (#92234) 2023-04-29 06:11:50 -05:00
Franck Nijhof f8942e7dcc
Fix incorrect entity category for isy994 sensors (#92233) 2023-04-29 06:10:52 -05:00
Rajeevan 44186bb731
Fix solaredge-local protobuf exception (#92090) 2023-04-29 11:33:43 +02:00
Tom Harris 58c5d98958
Fix Insteon scenes with disabled entities (#92137) 2023-04-29 11:16:04 +02:00
Allen Porter 282d5f4488
Add more detail to invalid rrule calendar error message (#92222)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-04-29 09:57:30 +02:00
Michael Davie 4511e91cfd
Bump env_canada to 0.5.34 (#92216)
Bump env_canada to v.0.5.34
2023-04-29 07:17:52 +02:00
Raman Gupta 96455c74f0
Use enum sensor device class in Z-Wave (#92029)
* Use enum sensor device class where appropriate

* update docstring
2023-04-28 23:24:35 -04:00
jjlawren 65837c9075
Bump `sonos-websocket` to 0.1.0 (#92209)
Bump sonos-websocket to 0.1.0
2023-04-28 16:10:48 -05:00
epenet c483860560
Fix lingering timer in qld_bushfire (#92189) 2023-04-28 21:16:26 +02:00
epenet c303487c1b
Fix lingering timer in feedreader (#92180) 2023-04-28 21:16:08 +02:00
J. Nick Koston 07d1a16efd
Add as_dict cache to Context and Event (#92162) 2023-04-28 21:15:39 +02:00
epenet 67a7de1869
Improve init type hints in enocean (#92176) 2023-04-28 21:14:37 +02:00
epenet 397a5ff992
Fix lingering timer in broadlink (#92179) 2023-04-28 21:08:08 +02:00
Sven Serlier a0cd0b3c6c
Fix typo in anova integration (#92191) 2023-04-28 21:07:17 +02:00
epenet d366b43866
Fix lingering timer in lifx discovery (#92185) 2023-04-28 21:06:32 +02:00
J. Nick Koston e156d3132e
Ensure purge can cleanup old format detached states in the database (#92145) 2023-04-28 21:03:59 +02:00
J. Nick Koston 293fb374ed
Fix missing preset_mode feature in bond fans (#92202) 2023-04-28 21:03:16 +02:00
Paul Bottein 75560aab1b
Update frontend to 20230428.0 (#92190) 2023-04-28 21:01:28 +02:00
Jean-François Roy 57f41958e6
Add missing PRESET_MODE feature to BAF fans (#92200) 2023-04-28 21:00:54 +02:00
Jan Bouwhuis cff7829a8d
Fix mqtt subscribe debouncer initial delay too long when birth message is disabled (#92188)
Fix mqtt subscribe deboucer initial delay
2023-04-28 18:56:22 +02:00
Erik Montnemery f8f7de5d5a
Remove homeassistant from conversation dependencies (#92170)
* Remove homeassistant from conversation dependencies

* Fix tests
2023-04-28 18:17:48 +02:00
David F. Mulcahey e6438dabff
Fix ZHA device triggers (#92186)
* Fix missing endpoint data on ZHA events

* revert to flat structure

* update test
2023-04-28 11:29:24 -04:00
Erik Montnemery ebd9cd096a
Keep expose setting in sync for assist (#92158)
* Keep expose setting in sync for assist

* Fix initialization, add test

* Fix tests

* Add AgentManager.async_setup

* Fix typo

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-04-28 15:59:21 +02:00