Add required features to cover service registration (#35073)
* Fix typing in component service method * Add required features to cover service registration * Fix template cover tilt features * Delint template cover tests
This commit is contained in:
parent
b90cb09fd1
commit
39431c0764
4 changed files with 28 additions and 17 deletions
|
@ -30,8 +30,8 @@ _LOGGER = logging.getLogger(__name__)
|
|||
ENTITY_COVER = "cover.test_template_cover"
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def calls(hass):
|
||||
@pytest.fixture(name="calls")
|
||||
def calls_fixture(hass):
|
||||
"""Track calls to a mock service."""
|
||||
return async_mock_service(hass, "test", "automation")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue