Fix amcrest pylint issue (#60932)

This commit is contained in:
Marc Mueller 2021-12-03 20:14:21 +01:00 committed by GitHub
parent c915aa1493
commit b60b38c6f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,7 +58,7 @@ class AmcrestSwitch(SwitchEntity):
name: str,
device: AmcrestDevice,
entity_description: SwitchEntityDescription,
):
) -> None:
"""Initialize switch."""
self._api = device.api
self.entity_description = entity_description