mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 22:27:07 +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
|
import homeassistant.helpers.config_validation as cv
|
||||||
|
|
||||||
REQUIREMENTS = [
|
REQUIREMENTS = [
|
||||||
'https://github.com/arraylabs/pymyq/archive/v0.0.2.zip'
|
'https://github.com/arraylabs/pymyq/archive/v0.0.5.zip'
|
||||||
'#pymyq==0.0.2']
|
'#pymyq==0.0.5']
|
||||||
|
|
||||||
COVER_SCHEMA = vol.Schema({
|
COVER_SCHEMA = vol.Schema({
|
||||||
vol.Required(CONF_TYPE): cv.string,
|
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)
|
myq = pymyq(username, password, brand)
|
||||||
|
|
||||||
if not myq.is_supported_brand():
|
if not myq.is_supported_brand():
|
||||||
logger.error('MyQ Cover - Unsupported Brand')
|
logger.error('MyQ Cover - Unsupported Type. See documentation')
|
||||||
return
|
return
|
||||||
|
|
||||||
if not myq.is_login_valid():
|
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
|
https://github.com/aparraga/braviarc/archive/0.3.6.zip#braviarc==0.3.6
|
||||||
|
|
||||||
# homeassistant.components.cover.myq
|
# 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
|
# homeassistant.components.media_player.roku
|
||||||
https://github.com/bah2830/python-roku/archive/3.1.3.zip#roku==3.1.3
|
https://github.com/bah2830/python-roku/archive/3.1.3.zip#roku==3.1.3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user