Commit graph

20 commits

Author SHA1 Message Date
Erik Montnemery
f56343f447
Use real devices in lock device action tests () 2023-10-24 23:43:50 +02:00
Erik Montnemery
320003bf15
Use entity registry id in lock device actions () 2023-06-26 23:09:26 +02:00
Erik Montnemery
fd822bce56
Replace assert_lists_same with pytest_unordered in integrations h-m () 2023-06-20 20:16:25 +02:00
Jan Bouwhuis
ec98e22330
Add type hints for stub_blueprint_populate fixture ()
Add typehints for stub_blueprint_populate fixture
2023-05-26 08:13:13 +02:00
Erik Montnemery
3cca338c6e
Improve blueprint test fixtures () 2023-05-25 13:45:19 +02: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
epenet
ea11a30a35
Add type hints to integration tests (part 13) () 2023-02-13 14:38:37 +01:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const ()
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +01:00
Franck Nijhof
51a9f65a01
Clean up unnecessary registry mocks from Core tests () 2023-02-08 13:28:44 -06:00
epenet
f75ac17554
Add type hints to integration tests (j-m) () 2023-02-08 19:06:59 +01:00
Erik Montnemery
64381acbaf
Mark device actions from hidden or auxiliary entities as secondary () 2022-04-20 10:48:46 -07:00
Franck Nijhof
721db6d962
Add EntityFeature enum to Lock () 2022-04-02 20:57:32 -07:00
Ville Skyttä
c5e6489475
Use DeviceAutomationType in tests/components/[h-l]* () 2021-12-20 22:18:53 +01:00
Erik Montnemery
6ab37881c9
Improve editing of device actions referencing non-added lock () 2021-06-12 21:31:30 +02:00
Joakim Sørensen
2f10f59717
Block custom integrations with missing or invalid version () 2021-05-17 15:48:41 +02:00
Ville Skyttä
dc880118a4
Lint suppression cleanups ()
* Unused pylint suppression cleanups

* Remove outdated pylint bug references

* Add flake8-noqa config and note to run it every now and then

* Add codes to noqa's

* Unused noqa cleanups
2021-03-02 09:02:04 +01:00
Paulus Schoutsen
b3be708db6
Add default config if not there ()
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-11-25 15:10:04 +01:00
Pascal Vizeli
c291d4aa7d
Intelligent timeout handler for setup/bootstrap ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-08-05 14:58:19 +02:00
Bas Nijholt
3b0f29fe95 sort imports according to PEP8 for lock () 2019-12-09 12:19:11 +01:00
Erik Montnemery
6d083969c2 Add device action support to the lock integration ()
* Add device action support to the lock integration

* Check that the enitity supports open service
2019-10-17 17:20:10 -07:00