J. Nick Koston
ddebfb3ac5
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:41:00 -04:00
J. Nick Koston
fe57901b5f
Add support for visitor detections to onvif ( #92350 )
2023-05-05 14:40:59 -04:00
J. Nick Koston
73d4c73dbb
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:39:32 -04:00
Bram Kragten
f1bccef224
Update frontend to 20230503.3 ( #92617 )
2023-05-05 14:39:31 -04:00
Joost Lekkerkerker and epenet
cf243fbe11
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:39:30 -04:00
J. Nick Koston
35c48d3d0e
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:39:29 -04: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 and epenet
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
Paulus Schoutsen
15ef53cd9a
Bumped version to 2023.5.2
2023-05-05 08:47:12 -04:00
Erik Montnemery
fb29e1a14e
Bump hatasmota to 0.6.5 ( #92585 )
...
* Bump hatasmota to 0.6.5
* Fix tests
2023-05-05 08:47:08 -04:00
epenet
f8c3586f6b
Fix hassio get_os_info retry ( #92569 )
2023-05-05 08:47:07 -04:00
Paulus Schoutsen and Erik
e8808b5fe7
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:47:06 -04:00
J. Nick Koston
82c0967716
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-05 08:47:05 -04:00
J. Nick Koston and pdw-mb
163823d2a5
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-05 08:47:04 -04:00
puddly
2dd1ce2047
Handle invalid ZHA cluster handlers ( #92543 )
...
* Do not crash on startup when an invalid cluster handler is encountered
* Add a unit test
2023-05-05 08:47:03 -04:00
J. Nick Koston
241cacde62
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-05 08:47:02 -04:00
Erik Montnemery and Paulus Schoutsen
8a11ee81c4
Improve cloud migration ( #92520 )
...
* Improve cloud migration
* Tweak
* Use entity_ids func
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com >
2023-05-05 08:47:01 -04:00
J. Nick Koston
e3762724a3
Fix blocking I/O in the event loop when starting ONVIF ( #92518 )
2023-05-05 08:47:00 -04:00
karwosts
b973825833
Fix scene service examples ( #92501 )
2023-05-05 08:46:59 -04:00
Eduard van Valkenburg
b2fcbbe50e
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 08:46:58 -04:00
Francesco Carnielli
d96b37a004
Fix power sensor state_class in Netatmo integration ( #92468 )
2023-05-05 08:46:57 -04:00
DDanii
affece8857
Fix transmission error handling ( #91548 )
...
* transmission error handle fix
* added unexpected case tests
2023-05-05 08:46:56 -04: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 and Erik
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 and Paulus Schoutsen
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 and pdw-mb
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