Prevent NumberEntity and RestoreEntity inheritance (#93467)

This commit is contained in:
epenet 2023-05-24 20:59:14 +02:00 committed by GitHub
parent dc3826f68e
commit 6057aeee2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 47 additions and 1 deletions

View file

@ -85,6 +85,7 @@ async def async_setup_entry(
)
# pylint: disable-next=hass-invalid-inheritance # needs fixing
class BlockSleepingNumber(ShellySleepingBlockAttributeEntity, NumberEntity):
"""Represent a block sleeping number."""