hass-core/tests/components/zwave
Santobert 944cd70753 Feature zwave preset modes (#25537)
* Initial commit

* Add some more code

* Local tests passing

* Remove unnecessary line

* Add preset attributes to __init__

* Remove some more debugger lines

* Add some tests

* Fix comparision to None

* Improve test coverage

* Use unknown modes as presets

* Bugfixes and test improvements

* Add tests for unknown preset modes

* linting

* Improve mappings

* Move PRESET_MANUFACTURER_SPECIFIC to zwave

* Replace isinstance with cast

* Add test for hvac_action

* hvac_mode is never None

* Improved mapping of current mode to hvac/preset modes

* Fix bugs where hvac_mode is None

* Add default hvac mode

* Fixed default hvac mode

* Fix linting

* Make flake happy

* Another linting

* Make black happy

* Complete list of default hvac modes

* Add mapping to heat/cool eco

* Fixed another bug where mapping goes wrong
2019-08-02 10:00:33 +02:00
..
__init__.py
conftest.py Black 2019-07-31 12:25:30 -07:00
test_binary_sensor.py Black 2019-07-31 12:25:30 -07:00
test_climate.py Feature zwave preset modes (#25537) 2019-08-02 10:00:33 +02:00
test_cover.py Black 2019-07-31 12:25:30 -07:00
test_fan.py Black 2019-07-31 12:25:30 -07:00
test_init.py Black 2019-07-31 12:25:30 -07:00
test_light.py Black 2019-07-31 12:25:30 -07:00
test_lock.py Black 2019-07-31 12:25:30 -07:00
test_node_entity.py Black 2019-07-31 12:25:30 -07:00
test_sensor.py Black 2019-07-31 12:25:30 -07:00
test_switch.py Black 2019-07-31 12:25:30 -07:00
test_workaround.py Black 2019-07-31 12:25:30 -07:00