mirror of
https://github.com/home-assistant/core
synced 2024-10-06 03:22:23 +00:00
myq-cover updated to new requirement file, changed error message to be more informative (#5995)
This commit is contained in:
parent
2993a4a7a5
commit
039559882b
|
@ -14,8 +14,8 @@ from homeassistant.const import (
|
|||
import homeassistant.helpers.config_validation as cv
|
||||
|
||||
REQUIREMENTS = [
|
||||
'https://github.com/arraylabs/pymyq/archive/v0.0.2.zip'
|
||||
'#pymyq==0.0.2']
|
||||
'https://github.com/arraylabs/pymyq/archive/v0.0.5.zip'
|
||||
'#pymyq==0.0.5']
|
||||
|
||||
COVER_SCHEMA = vol.Schema({
|
||||
vol.Required(CONF_TYPE): cv.string,
|
||||
|
@ -39,7 +39,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
|||
myq = pymyq(username, password, brand)
|
||||
|
||||
if not myq.is_supported_brand():
|
||||
logger.error('MyQ Cover - Unsupported Brand')
|
||||
logger.error('MyQ Cover - Unsupported Type. See documentation')
|
||||
return
|
||||
|
||||
if not myq.is_login_valid():
|
||||
|
|
|
@ -222,7 +222,7 @@ https://github.com/Xorso/pyalarmdotcom/archive/0.1.1.zip#pyalarmdotcom==0.1.1
|
|||
https://github.com/aparraga/braviarc/archive/0.3.6.zip#braviarc==0.3.6
|
||||
|
||||
# homeassistant.components.cover.myq
|
||||
https://github.com/arraylabs/pymyq/archive/v0.0.2.zip#pymyq==0.0.2
|
||||
https://github.com/arraylabs/pymyq/archive/v0.0.5.zip#pymyq==0.0.5
|
||||
|
||||
# homeassistant.components.media_player.roku
|
||||
https://github.com/bah2830/python-roku/archive/3.1.3.zip#roku==3.1.3
|
||||
|
|
Loading…
Reference in a new issue