Commit graph

306 commits

Author SHA1 Message Date
puddly
b8ddfd642e
Bump ZHA dependencies (#129510) 2024-10-30 17:38:24 +01:00
Robert Resch
380974eed4
Remove hassio from ALLOWED_USED_COMPONENTS and move some functions to helper (#127228)
* Remove hassio from ALLOWED_USED_COMPONENTS

* Move HassioServiceInfo to helpers.service_info

* Deprecate moved functions

* Add note about deprecation

* Fix tests

* Implement suggestion

* Typo

* Update pyproject.toml

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

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-10-30 12:43:41 +01:00
TheJulianJES
7980155375
Bump ZHA to 0.0.36 (#129247) 2024-10-28 16:07:04 +01:00
puddly
f6270d9cfc
Bump ZHA dependencies (#128539)
* Bump ZHA dependencies

* Remove unused ZHA color modes

* Rename `cluster` to `ota_cluster` in update tests to unshadow `cluster` in `endpoint_reply`

---------

Co-authored-by: TheJulianJES <TheJulianJES@users.noreply.github.com>
2024-10-16 22:15:00 -04:00
puddly
0a44c9456c
Bump ZHA to 0.0.34 (#126766) 2024-09-25 18:44:51 +02:00
puddly
50a46933f6
Bump ZHA to 0.0.33 (#125914) 2024-09-13 14:15:58 -04:00
puddly
6467c8d611
Bump ZHA to 0.0.32 (#124804)
* Always prefer XY color mode in ZHA

Remove a few more HS remnants

* Use new ZHA OTA format

* Bump ZHA to 0.0.32

* Fix existing OTA unit tests

* Fix schema conversion test to account for new command parameters

* Update snapshot with new `zcl_type` kwarg

* Migrate existing entities to icon translations

* Remove "no longer compatible" test

* Test that the library release summary is correctly exposed to ZHA

* Revert "Always prefer XY color mode in ZHA"

This reverts commit 8fb7789ea8.

* Test `release_notes`, not `release_summary`
2024-08-30 14:48:09 +02:00
David F. Mulcahey
732b4b95db
Bump ZHA lib to 0.0.31 (#123743) 2024-08-12 22:38:59 +02:00
David F. Mulcahey
cfd2ca3abb
Bump zha lib to 0.0.30 (#123499) 2024-08-10 08:07:08 -04:00
puddly
97410474f5
Bump ZHA library to 0.0.29 (#123464)
* Bump zha to 0.0.29

* Pass the Core timezone to ZHA

* Add a unit test
2024-08-09 10:31:55 -04:00
puddly
78154f5daf
Bump ZHA to 0.0.28 (#123259)
* Bump ZHA to 0.0.28

* Drop redundant radio schema conversion
2024-08-06 21:46:25 -04:00
David F. Mulcahey
3257bdeed2
Bump ZHA lib to 0.0.27 (#123125) 2024-08-05 11:19:57 +02:00
David F. Mulcahey
5446dd92a9
Make ZHA load quirks earlier (#123027) 2024-08-02 12:22:36 +02:00
David F. Mulcahey
bd3f0da385
Bump ZHA lib to 0.0.24 and universal-silabs-flasher to 0.0.22 (#122812)
* Bump ZHA lib to 0.0.24

* update for node state change for coordinator data

* bump flasher
2024-07-29 18:16:54 -04:00
David F. Mulcahey
1d62f0e380
Bump ZHA lib to 0.0.23 (#121900) 2024-07-14 03:59:29 +02:00
puddly
9fcfc6d9f3
Bump ZHA dependencies (#121716) 2024-07-10 23:17:41 +02:00
David F. Mulcahey
72c3c0eb53
Bump ZHA lib to 0.0.19 (#121637) 2024-07-10 08:22:08 +02:00
puddly
b754f03c11
ZHA as an external library (#120190)
Co-authored-by: David Mulcahey <david.mulcahey@icloud.com>
Co-authored-by: David Mulcahey <david.mulcahey@me.com>
2024-07-08 20:18:30 +02:00
TheJulianJES
d09a274548
Bump ZHA dependencies (#120581) 2024-06-26 18:15:53 +02:00
Tobias Schmitt
988148d385
Add ZHA cod.m coordinator discovery (#115471) 2024-06-21 13:33:53 +02:00
TheJulianJES
c75db797d0
Bump ZHA dependencies (#119713)
* Bump bellows to 0.39.1

* Bump zigpy to 0.64.1
2024-06-14 22:33:38 +02:00
xyzroe
ae0e751a6d
Add ZHA XZG firmware discovery (#116828) 2024-06-08 18:06:25 +02:00
puddly
746939c8cd
Bump ZHA dependencies (#118658)
* Bump bellows to 0.39.0

* Do not create a backup if there is no active ZHA gateway object

* Bump universal-silabs-flasher as well
2024-06-02 16:55:48 -04:00
TheJulianJES
6382cb9134
Bump zha-quirks to 0.0.116 (#118393) 2024-05-29 19:52:25 +02:00
J. Nick Koston
ecdad19296
Drop pyserial-asyncio from zha (#116638) 2024-05-03 02:12:28 -05:00
puddly
007b15dc8b
Bump ZHA dependency bellows to 0.38.4 (#116660)
Bump ZHA dependencies

Co-authored-by: TheJulianJES <TheJulianJES@users.noreply.github.com>
2024-05-02 19:31:28 -05:00
puddly
07e608d815
Bump ZHA dependencies (#116509) 2024-05-01 16:00:17 +02:00
TheJulianJES
5c3ffb8f55
Bump ZHA dependencies (#116106) 2024-04-24 17:24:43 +02:00
TheJulianJES
102b34123c
Bump zha-quirks to 0.0.115 (#116071) 2024-04-24 10:17:01 +02:00
TheJulianJES
6ed2190c29
Bump zha-quirks to 0.0.114 (#115299) 2024-04-09 15:22:46 -04:00
TheJulianJES
1a46158a1d
Bump zha-quirks to 0.0.113 (#114311) 2024-03-27 13:53:18 -04:00
David F. Mulcahey
c518acfef3
Defensively validate ZHA quirks v2 supplied entity metadata (#112643) 2024-03-27 17:48:43 +01:00
Paulus Schoutsen
f416d67d21
Remove built-in support for import_executor in manifest (#112725) 2024-03-08 12:02:32 -05:00
David F. Mulcahey
7af82161a0
Bump Zigpy to 0.63.4 (#112117) 2024-03-03 11:31:23 -05:00
David F. Mulcahey
fbb982f8ce
Bump Zigpy to 0.63.3 (#112002) 2024-03-01 18:13:09 -05:00
puddly
4ec75d6ca7
Use new zigpy OTA providers for ZHA (#111159)
* Use `None` instead of `"unknown"` when the current version is unknown

* Only use the current file version from the OTA notification

* Use `sw_version`, if available, and update `current_file_version`

* Assume the current version is the latest version

* Fix lint errors

* Use `image` instead of `firmware`

* Include a changelog if updates expose it

* Clear latest firmware only after updating the installed version

* Bump minimum zigpy version to 0.63.0

* Create a data update coordinator to consolidate updates

* Fix overridden `async_update`

* Fix most unit tests

* Simplify `test_devices` to fix current tests

* Use a dict comprehension for creating mocked entities

* Fix unit tests (thanks @dmulcahey!)

* Update the currently installed version on cluster attribute update

* Drop `PARALLEL_UPDATES` now that we use an update coordinator

* Drop `_reset_progress`, it is already handled by the update component

* Do not update the progress if we are not supposed to be updating

* Ignore latest version (e.g. if device attrs changed) if zigpy rejects it

* Clean up handling of command id in `Ota.cluster_command`

* Start progress at 1%: 0 and False are considered equal and are filtered!

Use `ceil` instead of remapping 1-100

* The installed version will be auto-updated when the upgrade succeeds

* Avoid 1 as well, it collides with `True`

* Bump zigpy to (unreleased) 0.63.2

* Fix unit tests

* Fix existing unit tests

Send both event types

Globally enable sending both event types

* Remove unnecessary branches

* Test ignoring invalid progress callbacks

* Test updating a device with a no longer compatible firmware
2024-02-28 14:38:04 -05:00
J. Nick Koston
4ea1c5cc3c
Add support for importing integrations in the executor (#111336)
* Add support for pre-imports at setup time

alternative solution to #111331

* refactor

* refactor

* refactor

* mark >1.0s integrations

* no point in executor if already loaded

* no point in executor if already loaded

* cleanup

* cleanup

* two more

* one more

* analytics loads a lot more integrations

* cloud

* debug

* psutil, hardwre

* try zha

* Update homeassistant/setup.py

* await

* comments

* coverage

* coverage

* coverage

* move logic to loader

* move logic to loader

* preserve comments
2024-02-26 14:49:43 -05:00
David F. Mulcahey
5d4dc63118
Bump ZHA dependencies (#111227) 2024-02-23 17:57:39 -05:00
TimL
c8bf589384
Auto detect ZHA SMLIGHT SLZB-07 dongle (#110982) 2024-02-21 21:39:16 +01:00
puddly
26e6bc8a6a
Bump ZHA dependency zigpy to 0.62.3 (#109848) 2024-02-07 06:22:54 +01:00
puddly
a533fa222e
Bump ZHA dependencies (#109770)
* Bump ZHA dependencies

* Bump universal-silabs-flasher to 0.0.18

* Flip `Server_to_Client` enum in ZHA unit test

* Bump zigpy to 0.62.2
2024-02-06 09:40:29 -05:00
David F. Mulcahey
3115af1041
Add update platform to ZHA (bumps zigpy to 0.61.0) (#107612)
* stub out zha update entity

* update matcher

* updates based on assumptions / conversation

* hook into current installed version

* post rebase cleanup

* incorporate zigpy changes

* fix async_setup_entry

* fix sw_version

* make ota work with config diagnostic match

* fix version format

* sync up with latest Zigpy changes

* fix name attribute

* disable ota providers for tests

* update device list

* review comment

* add current_file_version to Ota ZCL_INIT_ATTRS

* updates to update and start tests

* get installed version from restore data

* better version handling

* remove done todo notes

* reorganize test

* move image notify to cluster handler

* add test for manual update check

* firmware update success test

* coverage

* use zigpy defs

* clean up after rebase

* bump Zigpy

* cleanup from review comments

* fix busted F string

* fix empty error

* move inside check

* guard zigbee network from bulk check for updates
2024-01-30 22:34:48 -05:00
TheJulianJES
0b09ffbcde
Bump zha-quirks to 0.0.110 (#109161)
* Bump zha-quirks to 0.0.110

* Reflect removal of `IasWd` cluster for Heiman sensor in tests
2024-01-30 16:39:59 -05:00
puddly
b9f48f62de
Bump ZHA dependency zigpy to 0.60.7 (#109082) 2024-01-29 23:59:56 +01:00
puddly
3ae858e3bf
Bump ZHA dependency zigpy to 0.60.6 (#108266)
Bump zigpy to 0.60.6
2024-01-17 18:34:10 -05:00
David F. Mulcahey
bf0d891f68
Bump Zigpy to 0.60.4 (#106870) 2024-01-02 08:59:45 -05:00
puddly
98c41f7398
Bump ZHA dependencies (#106756)
* Bump ZHA dependencies

* Revert "Remove bellows thread, as it has been removed upstream"

This reverts commit c28053f4bf.
2023-12-31 04:54:09 -05:00
David F. Mulcahey
11e4dd0764
Bump ZHA quirks to 109 and add associated configuration entities (#106492) 2023-12-27 21:15:45 +01:00
puddly
bfaae77e51
Bump ZHA dependencies (#106147) 2023-12-21 07:44:36 +01:00
puddly
4e9b9add29
Bump ZHA dependencies (#105661) 2023-12-13 17:06:46 +01:00