Upgrade python-mystrom to 0.4.2 (#13485)
This commit is contained in:
parent
9eda04b787
commit
06aded1a4d
3 changed files with 6 additions and 6 deletions
|
@ -15,7 +15,7 @@ from homeassistant.components.light import (
|
|||
ATTR_HS_COLOR)
|
||||
from homeassistant.const import CONF_HOST, CONF_MAC, CONF_NAME, STATE_UNKNOWN
|
||||
|
||||
REQUIREMENTS = ['python-mystrom==0.3.8']
|
||||
REQUIREMENTS = ['python-mystrom==0.4.2']
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
@ -43,7 +43,7 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
|
|||
|
||||
def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||
"""Set up the myStrom Light platform."""
|
||||
from pymystrom import MyStromBulb
|
||||
from pymystrom.bulb import MyStromBulb
|
||||
from pymystrom.exceptions import MyStromConnectionError
|
||||
|
||||
host = config.get(CONF_HOST)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue