Commit graph

63070 commits

Author SHA1 Message Date
J. Nick Koston
2a5ffa9a5b
Fix timestamps for bluetooth scanners that bundle advertisements (#94511)
#94138 added support for raw/bundled advertisements. We should use the
same monotonic time for all advertisements in the bundle if not time
is passed, or calculate the timestamp and pass it if its known
2023-06-14 21:47:00 -04:00
puddly
22dfa8797f
Bump ZHA dependencies (#93989)
* Make `find_entity_id` synchronous

* Remove `tries`

* Use new `attribute_updated` event signature

* Validate attributes before creating entities

* Avoid swallowing exceptions when opening covers

* Bump ZHA dependencies

* Add a matcher for Sinope water leak sensors using a non-standard ZCL attribute

* Ensure handler matching is strict, not multi

* Add type annotations for newly-updated functions
2023-06-14 21:42:31 -04:00
J. Nick Koston
584967a35a
Avoid double call to self.suggested_unit_of_measurement in sensor unit_of_measurement (#94582) 2023-06-14 21:33:05 -04:00
J. Nick Koston
e0ae7a31fe
Remove _raw from zeroconf properties (#94615)
* Remove _raw from zeroconf properties

This was added in #31059 but it appears it was never used.

To preserve backwards compatibility, properties are still decoded
but utf-8 errors are replaced instead of dropped

* Remove _raw from zeroconf properties

This was added in #31059 but it appears it was never used.

To preserve backwards compatibility, properties are still decoded
but utf-8 errors are replaced instead of dropped
2023-06-14 21:31:52 -04:00
Maciej Bieniek
7b3f100efb
Catch InvalidAuthError in shutdown() method for Shelly gen2 devices (#94563)
* Catch InvalidAuthError in shutdown() method

* Add test

* Revert unwanted change in tests
2023-06-15 00:00:21 +03:00
disforw
a79e37c240
Add coordinator to QNAP (#94413)
* Create coordinator.py

* Update sensor.py

* Update sensor.py

* Update sensor.py

* Update homeassistant/components/qnap/coordinator.py

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

* Update homeassistant/components/qnap/coordinator.py

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

* Update homeassistant/components/qnap/coordinator.py

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

* Update homeassistant/components/qnap/coordinator.py

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

* Update homeassistant/components/qnap/coordinator.py

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

* Update homeassistant/components/qnap/coordinator.py

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

* Update homeassistant/components/qnap/sensor.py

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

* Update homeassistant/components/qnap/sensor.py

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

* Update homeassistant/components/qnap/sensor.py

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

* Update homeassistant/components/qnap/sensor.py

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

* Update homeassistant/components/qnap/sensor.py

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

* Add import

* Update coordinator.py

* Update coordinator.py

* Add platformnotready

* Walrus

* Update sensor.py

* Undo walres

CI didnt like it

* Update coordinator.py black fix

* Update sensor.py fix black

* Update sensor.py fix ruff

* Update coordinator.py fix lint

* Update sensor.py fix ruff

* Update homeassistant/components/qnap/coordinator.py

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

* Update homeassistant/components/qnap/sensor.py

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

* Update sensor.py

* Update coordinator.py

* Update coordinator.py

* Update sensor.py

* Update homeassistant/components/qnap/sensor.py

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

* Update sensor.py

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-06-14 22:42:49 +02:00
J. Nick Koston
b149fffa08
Bump bluetooth-data-tools to 1.1.0 (#94610)
Bume bluetooth-data-tools to 1.1.0

performance improvements

https://github.com/Bluetooth-Devices/bluetooth-data-tools/compare/v1.0.0...v1.1.0
2023-06-14 22:25:26 +02:00
Ian Foster
e998320053
Fix keyboard_remote for python 3.11 (#94570)
* started work to update keyboard_remote to work with python 3.11

* updated function names

* all checks pass

* fixed asyncio for python 3.11

* cleanup

* Update homeassistant/components/keyboard_remote/__init__.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update __init__.py

added:
from __future__ import annotations

* Fix typing

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-06-14 22:06:55 +02:00
Erik Montnemery
e539344d22
Set has_entity_name in mill (#94605) 2023-06-14 21:45:14 +02:00
Erik Montnemery
cc53e4e6c1
Set has_entity_name in kodi (#94604)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-06-14 21:44:17 +02:00
Erik Montnemery
fa9c31d3db
Set has_entity_name in freedompro (#94603)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-06-14 21:42:51 +02:00
Erik Montnemery
c48afebbfc
Set has_entity_name in electrasmart (#94602)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-06-14 21:41:53 +02:00
Erik Montnemery
fc068f878b
Minor adjustment in sharkiq, webostv, ws66i (#94611) 2023-06-14 21:41:32 +02:00
Michael Hansen
5c3ec8774d
Fix async_timeout deprecation warning (#94594)
* Fix async_timeout deprecation warning

* Combine async with
2023-06-14 14:26:24 -05:00
Erik Montnemery
7fbeac9bbe
Set has_entity_name in webostv (#94607)
* Set has_entity_name in webostv

* Fix log message
2023-06-14 22:11:09 +03:00
Erik Montnemery
f68ed8b7a0
Always setup demo platforms with device support from config entry (#94601)
* Always setup demo platforms with device support from config entry

* Update tests depending on the demo integration
2023-06-14 21:03:07 +02:00
Erik Montnemery
c5fccffbb3
Set has_entity_name in sharkiq (#94606) 2023-06-14 21:02:00 +02:00
Erik Montnemery
3424e927cb
Set has_entity_name in ws66i (#94608) 2023-06-14 20:49:23 +02:00
J. Nick Koston
a0c023d5cb
Reduce overhead to lookup items in the entity and device registry (#94568) 2023-06-14 20:47:18 +02:00
Niclas Kühnapfel
de62082605
Update solax to 0.3.2 (#94545)
* solax: update to 0.3.2

* Update solax dependencies
2023-06-14 16:52:43 +02:00
Erik Montnemery
9a3077d64a
Always setup demo platforms with device support from config entry (#94586)
* Always setup demo platforms with device support from config entry

* Adjust test fixutres

* Update tests depending on the demo integration
2023-06-14 16:50:35 +02:00
Erik Montnemery
1b8c72e644
Remove legacy STT provider from the demo integration (#94585) 2023-06-14 14:55:50 +02:00
Erik Montnemery
e5b2801f5b
Fix ZHA tests (#94588) 2023-06-14 14:21:34 +02:00
dupondje
4ac2dd3de7
Bump python devcontainer (#94540) 2023-06-14 11:38:47 +02:00
Erik Montnemery
bd156bb129
Improve multipan debug logging (#94580) 2023-06-14 10:26:54 +02:00
Chris Talkington
6a75f69e0f
Fix failed recovery in ipp (#94573) 2023-06-13 21:07:24 -10:00
Chris Talkington
508cd7ef7e
Fix failed recovery in roku (#94572) 2023-06-13 21:07:03 -10:00
Franck Nijhof
66400fca0d
Update Home Assistant base image to 2023.06.0 (#94556) 2023-06-13 22:27:14 +02:00
Franck Nijhof
d5be77b53d
Update sentry-sdk to 1.25.1 (#94374) 2023-06-13 22:10:56 +02:00
Aaron Bach
08262f480b
Bump regenmaschine to 2023.06.0 (#94554) 2023-06-13 21:37:56 +02:00
Chris Phillips
ddf004d5c7
Bump russound_rio to 1.0.0 (#94500) 2023-06-13 21:37:30 +02:00
Erik Montnemery
2406b235b4
Name unnamed binary sensors by their device class (#92940)
* Name unnamed binary sensors by their device class

* Update type annotations

* Fix loading of entity component translations

* Add test

* Update integrations

* Set abode and rfxtrx binary_sensor name to None

* Revert changes in homekit_controller
2023-06-13 19:48:54 +02:00
J. Nick Koston
223394eaee
Bump bluetooth-data-tools to 1.0.0 (#94145) 2023-06-13 06:42:10 -10:00
J. Nick Koston
985fb3cd5d
Bump yalexs-ble to 2.1.18 (#94547) 2023-06-13 18:32:43 +02:00
Yuxin Wang
b1bdd92383
Add unit inference for Amps and VA in APCUPSD integration (#94431)
* Add unit inference for Amps and VA

* Rename `init_integration` to `async_init_integration` for better consistency with HA naming style
2023-06-13 16:38:56 +02:00
Nathan Spencer
47995fc274
Bump pylitterbot to 2023.4.2 (#94301) 2023-06-13 11:51:46 +02:00
Joakim Sørensen
889f3c36fc
Adjust default name in backup service calls to match documentation (#94468) 2023-06-13 11:41:53 +02:00
Erik Montnemery
771a73c034
Add missing callback decorator to event helpers (#94483) 2023-06-13 11:16:43 +02:00
Raman Gupta
aab58ad89c
Fix entity and device selector TypedDict's (#94510) 2023-06-13 10:52:55 +02:00
J. Nick Koston
0d1bcd8a8f
Bump httpcore to 0.17.2 (#94515) 2023-06-13 10:38:51 +02:00
J. Nick Koston
8a1ca0a3f5
Bump zeroconf to 0.66.0 (#94512) 2023-06-13 10:38:26 +02:00
J. Nick Koston
d2fa6435da
Bump lru-dict to 1.2.0 (#94513) 2023-06-13 10:37:59 +02:00
J. Nick Koston
829ca7c567
Bump orjson to 3.9.1 (#94514) 2023-06-13 10:36:56 +02:00
J. Nick Koston
e8c87874b3
Bump anyio to 3.7.0 (#94516) 2023-06-13 10:36:25 +02:00
dependabot[bot]
fd9b273f46
Bump dessant/lock-threads from 4.0.0 to 4.0.1 (#94523)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-13 10:33:21 +02:00
FFT
5d8a50baf0
Change pyoppleio to pyoppleio-legacy (#88050)
* Change pyoppleio to pyoppleio-310 (#75268)

* [m] change opple component's dependency to a new working one
2023-06-13 08:46:58 +02:00
Raman Gupta
f3ca3a8ee0
Set default value for endpoint in zwave device automations (#94445)
* Set default value for endpoint in zwave device automations

* add test case
2023-06-12 21:34:09 -04:00
Allen Porter
8e08338118
Bump google-nest-sdm to 2.2.5 (#94398) 2023-06-12 21:58:19 +02:00
G Johansson
bd74f03d0b
Fix reload service in Command Line (#94436)
* Fix reload in Command Line

* Add read new yaml
2023-06-12 21:51:57 +02:00
G Johansson
f931cc3d1c
Fix manual update for Command Line (#94433)
Manual update command line
2023-06-12 21:50:23 +02:00