Use entity class attributes for Broadlink (#53058)
* Clanup broadlink * rework * tweak * fix using wrong attribute * tweak * revert device info
This commit is contained in:
parent
0803b2aecd
commit
800f7fe3a5
4 changed files with 36 additions and 44 deletions
|
@ -1,11 +1,12 @@
|
|||
"""Broadlink entities."""
|
||||
|
||||
from homeassistant.helpers import device_registry as dr
|
||||
from homeassistant.helpers.entity import Entity
|
||||
|
||||
from .const import DOMAIN
|
||||
|
||||
|
||||
class BroadlinkEntity:
|
||||
class BroadlinkEntity(Entity):
|
||||
"""Representation of a Broadlink entity."""
|
||||
|
||||
_attr_should_poll = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue