Wink fan support (#5174)

* Initial commit for Wink fan support

* Added fan to discovery list

* Raise NotImplementedError and fixed is_on

* Added speed property

* Update __init__.py
This commit is contained in:
William Scanlon 2017-01-14 01:08:13 -05:00 committed by Paulus Schoutsen
parent 9f765836f8
commit 0da8418f3f
7 changed files with 177 additions and 13 deletions

View file

@ -15,7 +15,7 @@ from homeassistant.const import (
from homeassistant.helpers.entity import Entity
import homeassistant.helpers.config_validation as cv
REQUIREMENTS = ['python-wink==0.11.0', 'pubnubsub-handler==0.0.5']
REQUIREMENTS = ['python-wink==0.12.0', 'pubnubsub-handler==0.0.7']
_LOGGER = logging.getLogger(__name__)
@ -50,7 +50,8 @@ CONFIG_SCHEMA = vol.Schema({
}, extra=vol.ALLOW_EXTRA)
WINK_COMPONENTS = [
'binary_sensor', 'sensor', 'light', 'switch', 'lock', 'cover', 'climate'
'binary_sensor', 'sensor', 'light', 'switch', 'lock', 'cover', 'climate',
'fan'
]