Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace einder lib with horimote #22135

Merged
merged 1 commit into from
Mar 18, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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