MQTT fan platform (#3095)

* Add fan.mqtt, allow brightness to be passed and mapped to a fan speed for compatibility with emulated_hue

* Pylint/Flake8 fixes

* Remove brightness

* Add more features, like custom oscillation/speed payloads and setting the speed list

* Flake8 fixes

* flake8/pylint fixes

* Use constants

* block fan.mqtt from coverage

* Fix oscillating comment
This commit is contained in:
Robbie Trencheny authored and GitHub committed 2016-09-04 03:15:55 -07:00
1 parent 0f37d8d8eb
commit 74980d9563
5 files changed
+281 -3

No files matched your search

+1
View File
@@ -39,6 +39,7 @@ SERVICE_OSCILLATE = 'oscillate'
SPEED_OFF = 'off'
SPEED_LOW = 'low'
SPEED_MED = 'med'
SPEED_MEDIUM = 'medium'
SPEED_HIGH = 'high'
ATTR_SPEED = 'speed'