replace einder lib with horimote (#22135)
This commit is contained in:
parent
9c7ef13f91
commit
af473cddf0
2 changed files with 7 additions and 7 deletions
|
@ -21,7 +21,7 @@ from homeassistant.const import (
|
|||
from homeassistant.exceptions import PlatformNotReady
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
|
||||
REQUIREMENTS = ['einder==0.3.1']
|
||||
REQUIREMENTS = ['horimote==0.4.1']
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
@ -44,8 +44,8 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
|
|||
|
||||
def setup_platform(hass, config, add_entities, discovery_info=None):
|
||||
"""Set up the Horizon platform."""
|
||||
from einder import Client, keys
|
||||
from einder.exceptions import AuthenticationError
|
||||
from horimote import Client, keys
|
||||
from horimote.exceptions import AuthenticationError
|
||||
|
||||
host = config[CONF_HOST]
|
||||
name = config[CONF_NAME]
|
||||
|
@ -162,7 +162,7 @@ class HorizonDevice(MediaPlayerDevice):
|
|||
|
||||
def _send(self, key=None, channel=None):
|
||||
"""Send a key to the Horizon device."""
|
||||
from einder.exceptions import AuthenticationError
|
||||
from horimote.exceptions import AuthenticationError
|
||||
|
||||
try:
|
||||
if key:
|
||||
|
|
|
@ -379,9 +379,6 @@ edp_redy==0.0.3
|
|||
# homeassistant.components.device_tracker.ee_brightbox
|
||||
eebrightbox==0.0.4
|
||||
|
||||
# homeassistant.components.horizon.media_player
|
||||
einder==0.3.1
|
||||
|
||||
# homeassistant.components.eliqonline.sensor
|
||||
eliqonline==1.2.2
|
||||
|
||||
|
@ -565,6 +562,9 @@ homekit[IP]==0.13.0
|
|||
# homeassistant.components.homematicip_cloud
|
||||
homematicip==0.10.6
|
||||
|
||||
# homeassistant.components.horizon.media_player
|
||||
horimote==0.4.1
|
||||
|
||||
# homeassistant.components.google
|
||||
# homeassistant.components.remember_the_milk
|
||||
httplib2==0.10.3
|
||||
|
|
Loading…
Add table
Reference in a new issue