Rename RemoteDevice to RemoteEntity (#34676)
This commit is contained in:
parent
d3ed80cf53
commit
aa60d362fd
10 changed files with 36 additions and 14 deletions
|
@ -7,7 +7,7 @@ from requests.exceptions import (
|
|||
)
|
||||
from roku import RokuException
|
||||
|
||||
from homeassistant.components.remote import RemoteDevice
|
||||
from homeassistant.components.remote import RemoteEntity
|
||||
from homeassistant.config_entries import ConfigEntry
|
||||
from homeassistant.helpers.typing import HomeAssistantType
|
||||
|
||||
|
@ -24,7 +24,7 @@ async def async_setup_entry(
|
|||
async_add_entities([RokuRemote(roku)], True)
|
||||
|
||||
|
||||
class RokuRemote(RemoteDevice):
|
||||
class RokuRemote(RemoteEntity):
|
||||
"""Device that sends commands to an Roku."""
|
||||
|
||||
def __init__(self, roku):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue