Enable Ruff D212 (#87347)

This commit is contained in:
Franck Nijhof 2023-02-03 23:08:48 +01:00 committed by GitHub
parent 97de0c6d9a
commit ca1a12898c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
237 changed files with 353 additions and 707 deletions

View file

@ -115,8 +115,7 @@ class HomeFactory:
class HomeTemplate(Home):
"""
Home template as builder for home mock.
"""Home template as builder for home mock.
It is based on the upstream libs home class to generate hmip devices
and groups based on the given homematicip_cloud.json.
@ -187,8 +186,7 @@ class HomeTemplate(Home):
return self.init_json_state
def get_async_home_mock(self):
"""
Create Mock for Async_Home. based on template to be used for testing.
"""Create Mock for Async_Home. based on template to be used for testing.
It adds collections of mocked devices and groups to the home objects,
and sets required attributes.