Skip to content

Commit

Permalink
python-miio version bumped. Fixes all xiaomi_miio components. (Closes:
Browse files Browse the repository at this point in the history
…#12017, Closes: #11948, Closes: #11200) (#12188)
  • Loading branch information
syssi authored and Danielhiversen committed Feb 5, 2018
1 parent 905a994 commit 137933a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/fan/xiaomi_miio.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string,
})

REQUIREMENTS = ['python-miio==0.3.4']
REQUIREMENTS = ['python-miio==0.3.5']

ATTR_TEMPERATURE = 'temperature'
ATTR_HUMIDITY = 'humidity'
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/light/xiaomi_miio.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string,
})

REQUIREMENTS = ['python-miio==0.3.4']
REQUIREMENTS = ['python-miio==0.3.5']

# The light does not accept cct values < 1
CCT_MIN = 1
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/switch/xiaomi_miio.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string,
})

REQUIREMENTS = ['python-miio==0.3.4']
REQUIREMENTS = ['python-miio==0.3.5']

ATTR_POWER = 'power'
ATTR_TEMPERATURE = 'temperature'
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/vacuum/xiaomi_miio.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
ATTR_ENTITY_ID, CONF_HOST, CONF_NAME, CONF_TOKEN, STATE_OFF, STATE_ON)
import homeassistant.helpers.config_validation as cv

REQUIREMENTS = ['python-miio==0.3.4']
REQUIREMENTS = ['python-miio==0.3.5']

_LOGGER = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ python-juicenet==0.0.5
# homeassistant.components.light.xiaomi_miio
# homeassistant.components.switch.xiaomi_miio
# homeassistant.components.vacuum.xiaomi_miio
python-miio==0.3.4
python-miio==0.3.5

# homeassistant.components.media_player.mpd
python-mpd2==0.5.5
Expand Down

0 comments on commit 137933a

Please sign in to comment.