Xiaomi MiIO Fan: Xiaomi Air Purifier 2 integration (#9837)

* Xiaomi Air Purifier 2 integration

* Flake8 errors fixed.
Changes based on review.

* Service domain ("fan") updated and services properly prefixed by xiaomi_miio.

* The underlying library is called python-miio now. Imports and requirements updated.

* Version bumped. The underlying library is called python-miio now.
This commit is contained in:
Sebastian Muszynski authored and Paulus Schoutsen committed 2017-10-24 23:50:01 -07:00
1 parent 00b9297082
commit e8f5445acc
8 files changed
+396 -6

No files matched your search

@@ -21,7 +21,7 @@ from homeassistant.const import (
ATTR_ENTITY_ID, CONF_HOST, CONF_NAME, CONF_TOKEN, STATE_OFF, STATE_ON)
import homeassistant.helpers.config_validation as cv
REQUIREMENTS = ['python-mirobo==0.2.0']
REQUIREMENTS = ['python-miio==0.3.0']
_LOGGER = logging.getLogger(__name__)