Add support for Dyson Pure HP04 purifying heater + fan (#34537)

* fix unnecesary checks

* change ClimateDevice to ClimateEntity

* Clean up

* Formatting

* Fix tests

* Clean tests

* Clean up tests

* Fix device mock

* Use safer patch target path

* Extract constant

* Remove not needed property

* Guard for missing target temperature

* Use async_mock mocks

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
etheralmandMartin Hjelmare authored and GitHub committed 2020-06-16 05:31:11 +01:00
1 parent 8541ae0360
commit f8de0594b9
3 files changed
+630 -63

No files matched your search

+1
View File
@@ -23,3 +23,4 @@ def load_mock_device(device):
device.state.oscillation_angle_low = "000"
device.state.oscillation_angle_high = "000"
device.state.filter_life = "000"
device.state.heat_target = 200