1
mirror of https://github.com/home-assistant/core synced 2024-10-13 14:52:10 +02:00
ha-core/tests
Oscar Tin Lai b6d3a199ce Add support for Dyson Hot+Cool Fan as a climate device (#14598)
* Added support for dyson hot+cool fan as climate device

* Removed decimal place in kelvin units conversion

Minor edits to be consistent with Dyson's internal conversion of temperature from kelvin to celsius. It does not include decimal place to convert between kelvin and celsius.

* made changes according to comments

* Refactored target temp logics, fixed enum issues

* changed name of component to entity

* removed temperature conversion for min/max property

* changed back to 644 permission

* added extra tests for almost-all coverage

* changed assert method to avoid lack of certain method in py35

* added test_setup_component

* shorten line length

* fixed mock spec and added checking of message listener is called

* added doc string and debug msg

* shorten line length

* removed pending target temp
2018-10-21 17:35:07 +02:00
..
auth Add permissions foundation (#16890) 2018-10-11 19:24:25 +02:00
components Add support for Dyson Hot+Cool Fan as a climate device (#14598) 2018-10-21 17:35:07 +02:00
fixtures Swedish weather institute weather component (#16717) 2018-10-08 23:54:55 +02:00
helpers Added resolve_state to template distance function (#17290) 2018-10-10 11:49:24 +02:00
mock Add zwave.network_complete_some_dead event (#16894) 2018-09-28 19:14:57 +02:00
resources
scripts
test_util Deprecated stuff (#16019) 2018-08-20 16:34:18 +02:00
testing_config add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
util Enable BMW component to be unit system aware (#17197) 2018-10-11 10:55:22 +02:00
__init__.py
common.py Add permissions foundation (#16890) 2018-10-11 19:24:25 +02:00
conftest.py Remove usage of "run_until_complete" (#16617) 2018-09-19 15:40:02 +02:00
test_bootstrap.py Remove usage of "run_until_complete" (#16617) 2018-09-19 15:40:02 +02:00
test_config_entries.py Allow config entry setup to raise not ready (#17135) 2018-10-04 15:53:50 +02:00
test_config.py Allow split component definitions in packages (#16177) 2018-09-24 10:17:24 +02:00
test_core.py Fire an event when timer gets out of sync (#17398) 2018-10-15 11:34:36 +02:00
test_data_entry_flow.py Allow finish_flow callback to change data entry result type (#16100) 2018-08-21 10:48:24 -07:00
test_loader.py Remove service helper (5) (#16917) 2018-09-27 23:13:11 +02:00
test_main.py
test_requirements.py Improve package loadable (#16237) 2018-08-28 12:52:18 +02:00
test_setup.py Update pydocstyle to 2.1.1 and flake8-docstrings to 1.3.0 (#14557) 2018-08-24 10:28:43 +02:00