Add pylint plugin to check for calls to base implementation (#100432)

This commit is contained in:
Marc Mueller 2023-09-18 20:39:36 +02:00 committed by GitHub
parent ddd62a8f63
commit 37288d7788
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 349 additions and 14 deletions

View file

@ -136,6 +136,7 @@ class PowerViewSensor(ShadeEntity, SensorEntity):
"""Get the current value in percentage."""
return self.entity_description.native_value_fn(self._shade)
# pylint: disable-next=hass-missing-super-call
async def async_added_to_hass(self) -> None:
"""When entity is added to hass."""
self.async_on_remove(