Skip to content

Commit

Permalink
replace einder lib with horimote (#22135)
Browse files Browse the repository at this point in the history
  • Loading branch information
benleb authored and fabaff committed Mar 18, 2019
1 parent 9c7ef13 commit af473cd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions homeassistant/components/horizon/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
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__)

Expand All @@ -44,8 +44,8 @@

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]
Expand Down Expand Up @@ -162,7 +162,7 @@ def _send_key(self, key):

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:
Expand Down
6 changes: 3 additions & 3 deletions requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit af473cd

Please sign in to comment.