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:
Martin Hjelmare 2020-05-03 23:21:12 +02:00 committed by GitHub
parent b90cb09fd1
commit 39431c0764
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 28 additions and 17 deletions

View file

@ -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")