Fix sia pylint errors (#51022)

This commit is contained in:
Erik Montnemery 2021-05-24 11:36:04 +02:00 committed by GitHub
parent 331cb3b74d
commit ec4a47d1db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -101,7 +101,7 @@ class SIAAlarmControlPanel(AlarmControlPanelEntity, RestoreEntity):
entry: ConfigEntry, entry: ConfigEntry,
account_data: dict[str, Any], account_data: dict[str, Any],
zone: int, zone: int,
): ) -> None:
"""Create SIAAlarmControlPanel object.""" """Create SIAAlarmControlPanel object."""
self._entry: ConfigEntry = entry self._entry: ConfigEntry = entry
self._account_data: dict[str, Any] = account_data self._account_data: dict[str, Any] = account_data

View file

@ -35,7 +35,7 @@ class SIAHub:
self, self,
hass: HomeAssistant, hass: HomeAssistant,
entry: ConfigEntry, entry: ConfigEntry,
): ) -> None:
"""Create the SIAHub.""" """Create the SIAHub."""
self._hass: HomeAssistant = hass self._hass: HomeAssistant = hass
self._entry: ConfigEntry = entry self._entry: ConfigEntry = entry