Erik Montnemery
c2457b8574
Use entity registry id in cover device actions ( #95269 )
2023-06-27 08:20:05 +02:00
Erik Montnemery
02ad93db53
Use entity registry id in cover device conditions ( #95253 )
2023-06-26 18:14:23 +02:00
Erik Montnemery
49c7d2ff89
Teach cover device trigger about entity registry ids ( #94971 )
2023-06-21 14:50:40 +02:00
Erik Montnemery
6a29ed8caa
Replace assert_lists_same with pytest_unordered in integrations a-f ( #94900 )
2023-06-20 20:22:31 +02:00
Jan Bouwhuis
ec98e22330
Add type hints for stub_blueprint_populate fixture ( #93568 )
...
Add typehints for stub_blueprint_populate fixture
2023-05-26 08:13:13 +02:00
Erik Montnemery
3cca338c6e
Improve blueprint test fixtures ( #93519 )
2023-05-25 13:45:19 +02:00
Michel van de Wetering
ee3cebe37b
Enable open,close,stop device actions for all covers ( #92006 )
2023-04-25 22:19:37 +02:00
Franck Nijhof
ed79265843
Enable Ruff PT006 ( #88165 )
...
* Enable Ruff PT006
* Adjust existing cases
* Fix tests
* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
epenet
9f688a564f
Add type hints to integration tests (part 4) ( #87848 )
2023-02-11 08:26:13 +01:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const ( #87792 )
...
* 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 ( #87726 )
2023-02-08 13:28:44 -06:00
epenet
807c69f621
Add type hints to integration tests (b-c) ( #87698 )
2023-02-08 18:08:43 +01:00
Franck Nijhof
24fdd588fd
Code styling tweaks to the tests - Part 1 ( #86192 )
2023-01-20 13:52:46 +01:00
epenet
0ac581a0b1
Cleanup EntityFeature in tests ( #78859 )
2022-09-21 10:48:55 +02:00
Erik Montnemery
4655ed995e
Fix resetting of attributes in EntityRegistry.async_get_or_create ( #77516 )
...
* Fix resetting of attributes in EntityRegistry.async_get_or_create
* Fix typing
* Fix resetting config entry
* Improve test
* Update tests
2022-08-30 21:07:50 +02:00
Erik Montnemery
5e50a8abd5
Mark device triggers from hidden or auxiliary entities as secondary ( #70335 )
...
* Mark device triggers from hidden or auxiliary entities as secondary
* Update tests
2022-04-21 08:01:32 +02:00
Erik Montnemery
150f173eed
Mark device conditions from hidden or auxiliary entities as secondary ( #70333 )
2022-04-20 21:41:59 +02:00
Erik Montnemery
64381acbaf
Mark device actions from hidden or auxiliary entities as secondary ( #70278 )
2022-04-20 10:48:46 -07:00
Franck Nijhof
8aff8d89d2
Clean up async_reproduce_state helper usage ( #68617 )
2022-03-24 14:40:54 +01:00
Ville Skyttä
9b437ef146
Remaining DeviceAutomationType bits ( #62508 )
...
* Use DeviceAutomationType in missed tests/components/*
* Tighten device automation type hints
2021-12-21 20:05:48 +02:00
Ville Skyttä
5926961ed5
Use DeviceAutomationType in tests/components/[a-f]* ( #62440 )
2021-12-20 22:26:29 +01:00
Franck Nijhof
cf371ea8dd
Remove deprecated base entity classes ( #61006 )
...
* Remove deprecated base entity classes
* Clean up tests
2021-12-05 13:53:52 +01:00
Erik Montnemery
85786fd987
Make some device action tests more explicit ( #59469 )
...
* Make some device action tests more explicit
* Adjust tests
2021-11-11 12:32:51 +01:00
Oliver Gruß
eec84ad71e
Mqtt cover toggle add stop function ( #59233 )
...
* Change existing toggle to add new function
* Fixed using old property method to using actual protected variable.
* Adding service tests to new cover toggle function
* Working on comments from Pull Request 59233
* Adjust existing tests to fit new fake cover setup
* MockCover is calling state method of MockEntity but should call it from CoverEntity
* using different entity to get back test coverage
2021-11-10 09:03:20 +01:00
Erik Montnemery
23fad60769
Don't use template in cover device condition ( #59408 )
2021-11-09 12:43:21 +01:00
Erik Montnemery
59ef55c34f
Improve editing of device conditions referencing non-added cover ( #51833 )
2021-06-14 14:34:59 +02:00
Erik Montnemery
b8669bf4c1
Improve editing of device actions referencing non-added cover ( #51748 )
2021-06-12 21:40:32 +02:00
Erik Montnemery
c1bc99890d
Improve editing of device triggers referencing non-added cover ( #51703 )
2021-06-10 12:46:28 +02:00
Joakim Sørensen
2f10f59717
Block custom integrations with missing or invalid version ( #49916 )
2021-05-17 15:48:41 +02:00
Erik Montnemery
c459789c09
Add 'for' to cover device triggers ( #48324 )
2021-03-29 13:57:30 -07:00
Ville Skyttä
dc880118a4
Lint suppression cleanups ( #47248 )
...
* 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
Anders Melchiorsen
26ce316c18
Do not trigger when numeric_state is true at startup ( #46424 )
2021-02-20 09:11:36 +01:00
Paulus Schoutsen
b3be708db6
Add default config if not there ( #43321 )
...
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 ( #38329 )
...
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
Eugene Prystupa
c795c68bc0
Support 'stop' action for covers in device automation ( #38219 )
2020-07-31 14:45:03 +02:00
Paulus Schoutsen
276f3afb00
Do async_setup_platform in background ( #36244 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-05-31 22:18:30 -07:00
Erik Montnemery
8c5c963b96
Rename CoverDevice to CoverEntity ( #34595 )
2020-04-25 18:07:15 +02:00
Franck Nijhof
bc5a2da7b7
Add transition support to scenes, cleanup blocking parameter ( #34434 )
2020-04-20 18:07:50 -07:00
Erik Montnemery
3b17e570df
Add device actions to cover ( #28064 )
...
* Add device actions to cover
* Remove toggle action, improve tests
* lint
* lint
* Simplify actions
* Update homeassistant/components/cover/device_action.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* Improve tests
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-02-27 21:05:43 -08:00
Christian Clauss
1d537ad416
Fix typo: serivce --> service ( #31217 )
2020-01-27 19:56:26 +01:00
Bas Nijholt
a3b605bb7d
use isort to sort imports according to PEP8 for cover ( #29629 )
2019-12-08 22:28:00 +05:30
Paulus Schoutsen
d1aa0cea97
Move intent registration to own integration ( #29280 )
...
* Move intent registration to own integration.
* Lint
2019-12-01 14:12:57 -08:00
Erik Montnemery
8ae43d2de3
Add device triggers to cover ( #28063 )
...
* Add device triggers to cover
* Use numeric_state trigger instead of template trigger
* Tweak translations
2019-10-30 20:49:01 +01:00
Erik Montnemery
7fee44b8c5
Add additional device conditions to cover ( #27830 )
...
* Add additional device conditions to cover
* Add default value
* Add test
* Use numeric_state condition instead of template condition
2019-10-25 13:50:46 -07:00
Santobert
5fa4632c12
Add improved scene support to the cover integration ( #27914 )
2019-10-19 11:39:31 -07:00
Moritz Fey
96c0ad302f
add device conditions for platform cover ( #27544 )
...
* add device condition support to the cover integration
* remove TODO comment
* add strings.json
2019-10-12 13:08:45 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Paulus Schoutsen
e9ea5c2ccb
Move tests to right folder ( #23790 )
...
* Move tests to right folder
* Fix test leaving files behind
2019-05-10 13:20:50 -07:00
Paulus Schoutsen
65432ba552
Move core stuff into Home Assistant integration ( #22407 )
...
* Move core stuff into Home Assistant integration
* Lint
2019-03-26 13:38:32 +01:00
Paulus Schoutsen
1ddc249989
Consolidate more platforms ( #22308 )
...
* Consolidate final platforms
* Fix some tests
* Fix more tests
* Fix more tests
2019-03-23 20:22:35 -07:00