Prevent SensorEntity and RestoreEntity inheritance (#88971)
This commit is contained in:
parent
db33aadcbb
commit
c475273145
14 changed files with 128 additions and 0 deletions
|
@ -24,6 +24,7 @@ async def async_setup_platform(
|
|||
async_add_entities([SpeedtestSensor(hass.data[FASTDOTCOM_DOMAIN])])
|
||||
|
||||
|
||||
# pylint: disable-next=hass-invalid-inheritance # needs fixing
|
||||
class SpeedtestSensor(RestoreEntity, SensorEntity):
|
||||
"""Implementation of a FAst.com sensor."""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue