Upgrade pyharmony to 1.0.20 (#12043)
This commit is contained in:
parent
24c6285567
commit
5609b42863
2 changed files with 5 additions and 4 deletions
|
@ -17,9 +17,10 @@ from homeassistant.components.remote import (
|
||||||
from homeassistant.const import (
|
from homeassistant.const import (
|
||||||
ATTR_ENTITY_ID, CONF_HOST, CONF_NAME, CONF_PORT, EVENT_HOMEASSISTANT_STOP)
|
ATTR_ENTITY_ID, CONF_HOST, CONF_NAME, CONF_PORT, EVENT_HOMEASSISTANT_STOP)
|
||||||
import homeassistant.helpers.config_validation as cv
|
import homeassistant.helpers.config_validation as cv
|
||||||
|
from homeassistant.exceptions import PlatformNotReady
|
||||||
from homeassistant.util import slugify
|
from homeassistant.util import slugify
|
||||||
|
|
||||||
REQUIREMENTS = ['pyharmony==1.0.18']
|
REQUIREMENTS = ['pyharmony==1.0.20']
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -97,8 +98,8 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||||
DEVICES.append(device)
|
DEVICES.append(device)
|
||||||
add_devices([device])
|
add_devices([device])
|
||||||
register_services(hass)
|
register_services(hass)
|
||||||
except ValueError:
|
except (ValueError, AttributeError):
|
||||||
_LOGGER.warning("Failed to initialize remote: %s", name)
|
raise PlatformNotReady
|
||||||
|
|
||||||
|
|
||||||
def register_services(hass):
|
def register_services(hass):
|
||||||
|
|
|
@ -723,7 +723,7 @@ pyflexit==0.3
|
||||||
pyfttt==0.3
|
pyfttt==0.3
|
||||||
|
|
||||||
# homeassistant.components.remote.harmony
|
# homeassistant.components.remote.harmony
|
||||||
pyharmony==1.0.18
|
pyharmony==1.0.20
|
||||||
|
|
||||||
# homeassistant.components.binary_sensor.hikvision
|
# homeassistant.components.binary_sensor.hikvision
|
||||||
pyhik==0.1.4
|
pyhik==0.1.4
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue