1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-14 10:59:15 +00:00

30 Commits

Author SHA1 Message Date
Erik Montnemery
e0795e6d07
Improve config entry state transitions when unloading and removing entries ()
* Improve config entry state transitions when unloading and removing entries

* Update integrations which check for a single loaded entry

* Update tests checking state after unload fails

* Update homeassistant/config_entries.py

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

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2025-02-17 18:16:57 +01:00
Paul Bottein
bf840e8bfa
Use device name for matter entities () 2024-10-29 10:54:25 +01:00
Mike Degatano
ad55c9cc19
Remaining addon management to aiohasupervisor ()
* Move set addon options to aiohasupervisor

* addon stats to aiohasupervisor and test fixes

* addon changelogs to aiohasupervisor

* Raise correct error for library in tests

* Cache client in instance property

* Use singleton method rather then HassIO instance method

* Mock supervisor client in more tests
2024-10-21 16:41:00 +02:00
Mike Degatano
a9aa5ad229
Use aiohasupervisor for store APIs ()
* Use aiohasupervosor for store addon info

* Use aiohasupervisor install addon

* Use aiohasupervisor for store info API

* Fix onboarding test

* Changes from feedback

* Move get_supervisor_client out of constructor

* Mock supervisor_client in tests

* Make property private
2024-10-10 10:27:20 +02:00
Joost Lekkerkerker
f90ed9e9db
Remove expected lingering test fixture from Matter () 2024-10-06 16:00:40 +02:00
Stefan Agner
abf3da2fa1
Set default Matter fabric label () 2024-10-03 12:36:24 +02:00
Joost Lekkerkerker
662a704165
Use snake case in matter fixture nodes () 2024-09-25 15:29:17 +02:00
Marcel van der Veldt
18766905f4
Don't crash entire Matter integration setup when one node is failing ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-09-25 12:45:24 +02:00
Mike Degatano
7517948900
Replace more addon management with aiohasupervisor ()
* Replace start_addon with library call

* restart_addon to library and error issues in tests

* stop_addon to library

* uninstall_addon to library

* Add output typing

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

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-09-24 15:47:29 +02:00
Mike Degatano
97d0d91d2c
Use aiohasupervisor for addon info calls ()
* Use aiohasupervisor for addon info calls

* Fix issue/repair tests in supervisor

* Fixes from feedback
2024-09-17 23:22:35 +02:00
Marc Mueller
921430d497
Import Generator from collections.abc (3) () 2024-07-01 12:09:11 +02:00
Stefan Agner
44aad2b821
Improve Matter Server version incompatibility handling ()
* Improve Matter Server version incompatibility handling

Improve the handling of Matter Server version. Noteably fix the issues
raised (add strings for the issue) and split the version check into
two cases: One if the server is too old and one if the server is too
new.

* Bump Python Matter Server library to 6.2.0b1

* Address review feedback
2024-06-26 11:43:51 +02:00
Marcel van der Veldt
4110f4f393
Fix Matter entity names () 2024-06-21 16:42:22 +02:00
Marc Mueller
33ed4fd862
Import Generator from typing_extensions (3) () 2024-06-06 17:28:59 +02:00
epenet
c7cc465e5c
Add return type hints in tests (k-z) () 2024-06-06 10:11:29 +02:00
epenet
44f715bd02
Use issue_registry fixture in component tests () 2024-05-24 15:54:20 +02:00
epenet
ad84ff18eb
Use remove_device helper in tests (1/2) ()
* Use remove_device helper in tests

* Update test_tag.py

* Update test_tag.py
2024-04-30 12:52:33 +02:00
epenet
0b01326f9f
Use is in ConfigEntryState enum comparison in tests (A-M) () 2024-04-05 17:16:55 +02:00
Marc Mueller
1722e23df8
Add empty line after module docstring [tests l-p] () 2024-03-08 14:55:15 +01:00
Jan-Philipp Benecke
9326ea09a5
Update m* tests to use entity & device registry fixtures () 2023-11-15 10:33:11 +01:00
Marcel van der Veldt
ed2daf1f65
Change subscription logic for Matter devices () 2023-06-27 21:12:29 +02:00
epenet
71dc98a39c
Improve hass_ws_client type hint in tests () 2023-03-14 16:31:40 +01:00
epenet
c51bde9a26
Fail CI on lingering tasks () 2023-03-07 11:35:48 +01:00
Marcel van der Veldt
881e85d74f
Bump python-matter-server to 3.0.0 ()
* Bump python-matter-server to 3.0.0

Include all fixes for the changed api schema of the library

* fix test fixtures

* remove invalid data from fixtures

* fix some of the tests

* fix binary sensor bug

* fix sensor bug

* fix switch test

* fix tests

* adjust bugs and typos
2023-02-22 14:24:30 -05:00
Franck Nijhof
ed79265843
Enable Ruff PT006 ()
* Enable Ruff PT006

* Adjust existing cases

* Fix tests

* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
Martin Hjelmare
f378dcdc30
Fix matter remove config entry device () 2023-02-06 22:41:52 +01:00
Martin Hjelmare
24bb3a705c
Adjust matter test exception argument () 2023-02-06 01:02:06 +01:00
Martin Hjelmare
94b80db968
Handle not available add-on in hassio add-on manager ()
* Handle not available add-on in hassio add-on manager

* Fix zwave_js tests

* Fix sky connect tests

* Fix matter tests

* Fix yellow tests

* Update hardware tests
2023-01-02 20:28:21 -05:00
Martin Hjelmare
6a8d9a91cb
Fix matter websocket reconnect () 2022-12-20 13:06:24 +01:00
Marcel van der Veldt
e2308fd15c
Add matter integration BETA ()
* Add matter base ()

Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>

* Add matter server add-on flow ()

* Add matter server add-on flow

* Fix stale error argument

* Clean docstrings

* Use localhost as default address

* Add matter websocket api foundation ()

* Add matter config entry add-on management ()

* Use matter refactored server/client library ()

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

* Bump python-matter-server to 1.0.6 ()

* Extend matter websocket api ()

* Extend matter websocket api

* Finish docstring

* Fix pin type

* Adjust api after new client

* Adjust api to frontend for now

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-12-01 20:44:56 +01:00