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
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
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
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
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
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
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