Commit Graph

7 Commits (58586d5e1f60224ca77385c4f9ae1d4da5361d07)

Author SHA1 Message Date
Marc Mueller 54d1e9985f
Update typing 15 (#48079) 2021-03-18 15:13:22 +01:00
Xiaonan Shen dbaca51bb3
Rewrite dyson climate tests (#45493)
* Rewrite dyson climate tests

* Cleanup
2021-01-24 17:37:48 +01:00
Xiaonan Shen 7e8d0a263c
Rewrite dyson init test (#45409) 2021-01-22 10:27:43 -05:00
Xiaonan Shen 5de8639798
Rewrite dyson sensor test (#45382) 2021-01-21 13:43:52 -05:00
Xiaonan Shen 5ee4479151
Rewrite dyson vacuum test (#45265) 2021-01-18 09:56:54 -05:00
etheralm f8de0594b9
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>
2020-06-16 05:31:11 +01:00
Ziv 5bfc1f3d4d
Removed uncaught exceptions from Dyson (#34112)
* fixed what seems to be a typo

* added load_mock_device in common.py so it loads all the required things into the mocks
so they don't throw exceptions for mocks not being able to convert to int

* reverted change in homeassistant/components/dyson/sensor.py
added both values to the mock device (volatil and volatile)
2020-04-15 14:03:14 -07:00