Upgrade pyharmony to 1.0.20 (#12043)

This commit is contained in:
Anders Melchiorsen 2018-01-30 00:54:49 +01:00 committed by Paulus Schoutsen
parent 24c6285567
commit 5609b42863
2 changed files with 5 additions and 4 deletions

View file

@ -17,9 +17,10 @@ from homeassistant.components.remote import (
from homeassistant.const import (
ATTR_ENTITY_ID, CONF_HOST, CONF_NAME, CONF_PORT, EVENT_HOMEASSISTANT_STOP)
import homeassistant.helpers.config_validation as cv
from homeassistant.exceptions import PlatformNotReady
from homeassistant.util import slugify
REQUIREMENTS = ['pyharmony==1.0.18']
REQUIREMENTS = ['pyharmony==1.0.20']
_LOGGER = logging.getLogger(__name__)
@ -97,8 +98,8 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
DEVICES.append(device)
add_devices([device])
register_services(hass)
except ValueError:
_LOGGER.warning("Failed to initialize remote: %s", name)
except (ValueError, AttributeError):
raise PlatformNotReady
def register_services(hass):

View file

@ -723,7 +723,7 @@ pyflexit==0.3
pyfttt==0.3
# homeassistant.components.remote.harmony
pyharmony==1.0.18
pyharmony==1.0.20
# homeassistant.components.binary_sensor.hikvision
pyhik==0.1.4