mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
replace einder lib with horimote (#22135)
This commit is contained in:
parent
9c7ef13f91
commit
af473cddf0
@ -21,7 +21,7 @@ from homeassistant.const import (
|
|||||||
from homeassistant.exceptions import PlatformNotReady
|
from homeassistant.exceptions import PlatformNotReady
|
||||||
import homeassistant.helpers.config_validation as cv
|
import homeassistant.helpers.config_validation as cv
|
||||||
|
|
||||||
REQUIREMENTS = ['einder==0.3.1']
|
REQUIREMENTS = ['horimote==0.4.1']
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
@ -44,8 +44,8 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
|
|||||||
|
|
||||||
def setup_platform(hass, config, add_entities, discovery_info=None):
|
def setup_platform(hass, config, add_entities, discovery_info=None):
|
||||||
"""Set up the Horizon platform."""
|
"""Set up the Horizon platform."""
|
||||||
from einder import Client, keys
|
from horimote import Client, keys
|
||||||
from einder.exceptions import AuthenticationError
|
from horimote.exceptions import AuthenticationError
|
||||||
|
|
||||||
host = config[CONF_HOST]
|
host = config[CONF_HOST]
|
||||||
name = config[CONF_NAME]
|
name = config[CONF_NAME]
|
||||||
@ -162,7 +162,7 @@ class HorizonDevice(MediaPlayerDevice):
|
|||||||
|
|
||||||
def _send(self, key=None, channel=None):
|
def _send(self, key=None, channel=None):
|
||||||
"""Send a key to the Horizon device."""
|
"""Send a key to the Horizon device."""
|
||||||
from einder.exceptions import AuthenticationError
|
from horimote.exceptions import AuthenticationError
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if key:
|
if key:
|
||||||
|
@ -379,9 +379,6 @@ edp_redy==0.0.3
|
|||||||
# homeassistant.components.device_tracker.ee_brightbox
|
# homeassistant.components.device_tracker.ee_brightbox
|
||||||
eebrightbox==0.0.4
|
eebrightbox==0.0.4
|
||||||
|
|
||||||
# homeassistant.components.horizon.media_player
|
|
||||||
einder==0.3.1
|
|
||||||
|
|
||||||
# homeassistant.components.eliqonline.sensor
|
# homeassistant.components.eliqonline.sensor
|
||||||
eliqonline==1.2.2
|
eliqonline==1.2.2
|
||||||
|
|
||||||
@ -565,6 +562,9 @@ homekit[IP]==0.13.0
|
|||||||
# homeassistant.components.homematicip_cloud
|
# homeassistant.components.homematicip_cloud
|
||||||
homematicip==0.10.6
|
homematicip==0.10.6
|
||||||
|
|
||||||
|
# homeassistant.components.horizon.media_player
|
||||||
|
horimote==0.4.1
|
||||||
|
|
||||||
# homeassistant.components.google
|
# homeassistant.components.google
|
||||||
# homeassistant.components.remember_the_milk
|
# homeassistant.components.remember_the_milk
|
||||||
httplib2==0.10.3
|
httplib2==0.10.3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user