Commit Graph

61877 Commits (4fcf05c2025c6de7c39b4e20f01ab403d8c36aa1)

Author SHA1 Message Date
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 7d518c5484
Update coverage to 7.2.4 (#92229) 2023-04-29 20:22:15 -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
epenet 7dfbfd45ae
Cleanup onewire tests (#92117) 2023-04-29 11:18:16 +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
Sven Serlier 8c64eda58f
Update URLs in PR template (#92194) 2023-04-28 21:12:26 +02:00