1
0
mirror of https://github.com/home-assistant/core.git synced 2025-07-29 08:07:45 +00:00

15 Commits

Author SHA1 Message Date
Sid
d5f883fbf0
Unignore Ruff PLR in tests ()
* Unignore Ruff PLR in tests

* Address review comments

* review comments

* fix import

* Update test_api.py

* Update test_api.py

* Update test_api.py
2024-04-01 11:11:59 +02:00
Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 ()
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Marc Mueller
87165c0d6e
Add empty line after module docstring [tests t-z] () 2024-03-08 14:44:56 +01:00
Marc Mueller
544d6b05a5
Replace mock_coro with AsyncMock ()
* Replace mock_coro with AsyncMock

* Remove mock_coro test helper function

* Remove redundant AsyncMock
2023-08-25 22:54:55 +02:00
puddly
b6e83be6f9
Fix ZHA serialization issue with warning devices ()
* Bump ZHA dependencies

* Update unit tests to reduce mocks
2023-07-11 14:09:52 -04:00
puddly
22dfa8797f
Bump ZHA dependencies ()
* 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
epenet
7427d4f323
Add type hints to integration tests (zha) () 2023-02-17 18:54:26 +01:00
TheJulianJES
f740312247
Fix some typos in ZHA comments ()
* Fix copy paste errors

* Fix "setup/set up" usage

* Fix typo

* Fix comment

* Fix copy paste errors

* Remove space at end of comment

* Remove double word

* Fix copy paste errors

* Fix typos

* Apply review suggestion

* Upper-case zha (to ZHA) everywhere

* Review: fix "over rules"

* Review: most/more
2023-01-02 00:20:59 -05:00
epenet
7bc2712142
Adjust root-import in tests ()
* Adjust root-import in tests

* Adjust diagnostics

* Adjust button

* Adjust select

* Adjust device_tracker

* Adjust camera

* Adjust humidifier

* Adjust media_source

* Adjust update

* Adjust siren

* Adjust number

* Adjust alarm_control_panel

* Adjust notify

* Adjust sensor

* Adjust switch

* Revert anthemav

* Don't adjust demo humidifier
2022-09-19 15:22:23 +02:00
J. Nick Koston
4bc5d7bfed
Speed up zha tests () 2022-06-17 11:41:10 -05:00
epenet
8234625d30
Use Domain not Platform on test service calls ()
* Adjust atag

* adjust broadlink

* Adjust onewire

* Adjust plex

* Adjust renault

* Adjust tasmota

* Adjust zha

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-03 14:16:35 +01:00
David F. Mulcahey
6a685f0315
Add select entities to ZHA () 2022-01-04 13:40:29 +01:00
David F. Mulcahey
a17031630f
Use Platform enum in ZHA () 2021-12-11 11:06:39 -05:00
David F. Mulcahey
5fd4c37427
Fix missing test assertion in ZHA siren test () 2021-12-04 13:50:55 -05:00
David F. Mulcahey
02b5449648
Add support for siren entities in ZHA () 2021-12-03 19:23:57 +01:00