Commit graph

9 commits

Author SHA1 Message Date
Chris
de300ddd56
Clean up some of the ozw tests ()
* Remove some unnecessary fixtures and combine csv dumps
2020-10-10 09:45:20 +02:00
Chris
7462d140af
Trim CW from RGB when not supported in ozw ()
* Trim the CW value if CW isn't supported

* Trim CW from white level as well
2020-08-23 19:20:37 -04:00
Martin Hjelmare
0f1e70ca79
Fix ozw pure rgb dimmer light ()
* Fix ozw pure rgb light

* Add test
2020-08-15 14:41:30 -04:00
Chris
5c9f29c43a
Fix ozw dimming transition ()
* Handle float from light component

* Test with float

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-08-14 08:35:42 -04:00
Patrick
0780650015
Make ozw CCT use device attributes instead of hard coded values () 2020-08-04 20:15:21 +02:00
Chris
5fef9653a8
Fix ozw dimming duration ()
* Dimming duration fix

Fixes  - allows dimming duration to 7620 (default of 7621)

* Forgot to commit my test updates

* Added backwards compatibility with pre-150+ builds

Added tests for backwards compatibility

* Upped the build number cut off

* Add check for major.minor version as well

* Fix major.minor detection

* Adjust variable name

* Adjust version checking logic

* Math is hard

* Rename files, adjust test names

* Update doc string
2020-07-28 07:37:09 +02:00
Patrick
19870ea867
Fix ozw color temp ()
* Fix color temp math

* Ran black --fast

* Update test_light.py

* tweaking mireds

* updating comments

* fixing test_light to match standards

* fixing comments, need coffee
2020-07-20 14:35:30 -04:00
Chris
a6129467aa
Add RGB light support to ozw () 2020-07-16 18:10:36 -07:00
Franck Nijhof
0be20ec6ab
Rename zwave_mqtt to ozw () 2020-05-14 22:56:04 +02:00
Renamed from tests/components/zwave_mqtt/test_light.py (Browse further)