shenxn / libdyson

Python library for dyson devices
Apache License 2.0
64 stars 41 forks source link

Add Support for 527E #9

Closed crgreenwood closed 3 years ago

crgreenwood commented 3 years ago

We recently bought: https://www.dyson.co.uk/air-treatment/purifiers/dyson-purifier-hot-cool/dyson-purifier-hot-cool-white-silver When I tried to setup the component the device was detected but could not be configured. Running get_devices.py showed me "Device Type: 527E"

This pull request adds support for the 527E.

I tested this on my own installation and it works. I have not tested the modification to test_init.py but I copied this from the commit to add support for the 455.

codecov[bot] commented 3 years ago

Codecov Report

Merging #9 (fb6a427) into main (5a3ccbf) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main       #9   +/-   ##
=======================================
  Coverage   97.65%   97.65%           
=======================================
  Files          21       21           
  Lines         939      940    +1     
=======================================
+ Hits          917      918    +1     
  Misses         22       22           
Impacted Files Coverage Δ
libdyson/__init__.py 100.00% <100.00%> (ø)
libdyson/const.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5a3ccbf...fb6a427. Read the comment docs.

shenxn commented 3 years ago

Thanks!

shenxn commented 3 years ago

New versions of libdyson and ha-dyson are released.