J. Nick Koston
3e334a4950
Fix typing of fan speed count and steps ( #46790 )
2021-02-19 19:57:21 -10:00
J. Nick Koston
f2b303d509
Implement percentage step sizes for fans ( #46512 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-02-18 21:05:09 -10:00
J. Nick Koston
a74ae3585a
Fix backwards compatiblity with fan update to new model ( #45951 )
...
* Fix backwards compatiblity with fans update to new model
There were some non-speeds and devices that report a none
speed. These problems were discovered when updating zha
tasmota and vesync to the new model in #45407
* Update coverage
* fix check
2021-02-06 12:48:18 +01:00
J. Nick Koston
068d1b5eb8
Separate fan speeds into percentages and presets modes ( #45407 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: John Carr <john.carr@unrouted.co.uk>
2021-01-27 17:44:36 -06:00
Keilin Bickar
05e15dc318
Add unique ID to demo fan ( #39658 )
2020-09-04 11:23:53 -05:00
Xiaonan Shen
2581b031d9
Fix fan not checking supported_features ( #35248 )
...
* Fix fan not checking supported_features
* Fix pylint
* Fix test
* Code cleanup
* Fix fan demo
* Code style improvement
2020-05-06 09:58:07 +02:00
Bas Nijholt
e4e9cdce73
use isort to sort imports according to PEP8 for demo ( #29630 )
2019-12-08 22:29:27 +05:30
Bram Kragten
15e6278a2e
Add config entry and device support to Demo ( #28702 )
...
* Add config entry and device support to Demo
* Some more devices
* Fix tests using demo
* Review comments
* Update config_flow.py
* Revert
* Disable pylint
2019-11-13 16:37:31 +01:00
Paulus Schoutsen
aa7513bc5c
Expose current direction properly on state machine ( #26298 )
...
* Expose current direction properly on state machine
* Fix template fan
2019-09-01 21:42:57 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Tobias Sauerwein
048b100eea
Clean up docstrings ( #22679 )
...
* Clean up docstrings
* Fix long lines
* Fix more docstrings
* Fix more docstrings
* Fix more docstrings
2019-04-03 17:40:03 +02:00
Paulus Schoutsen
1ddc249989
Consolidate more platforms ( #22308 )
...
* Consolidate final platforms
* Fix some tests
* Fix more tests
* Fix more tests
2019-03-23 20:22:35 -07:00