core/tests/components/template
Yann Le Moigne 2314d15761
Fix cover template: optimistic mode is ignored (#87925)
* Fix cover template: optimistic mode is ignored (#84334)

* Fix invalid check in is_closed (make test pass)

* Add test for non optimistic cover

* Update homeassistant/components/template/cover.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update test_cover.py

* Fix format

* Fix tests

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-22 15:54:18 +01:00
..
fixtures
__init__.py
conftest.py Enable Ruff PT022 (#86792) 2023-01-27 13:57:06 +01:00
test_alarm_control_panel.py Add type hints to integration tests (part 22) (#88234) 2023-02-16 14:08:03 +01:00
test_binary_sensor.py Add type hints to integration tests (part 22) (#88234) 2023-02-16 14:08:03 +01:00
test_button.py Add type hints to integration tests (part 22) (#88234) 2023-02-16 14:08:03 +01:00
test_cover.py Fix cover template: optimistic mode is ignored (#87925) 2023-02-22 15:54:18 +01:00
test_fan.py Add type hints to integration tests (part 22) (#88234) 2023-02-16 14:08:03 +01:00
test_init.py Add type hints to integration tests (part 22) (#88234) 2023-02-16 14:08:03 +01:00
test_light.py Add type hints to integration tests (part 22) (#88234) 2023-02-16 14:08:03 +01:00
test_lock.py Add type hints to integration tests (part 22) (#88234) 2023-02-16 14:08:03 +01:00
test_number.py Add type hints to integration tests (part 22) (#88234) 2023-02-16 14:08:03 +01:00
test_select.py Add type hints to integration tests (part 22) (#88234) 2023-02-16 14:08:03 +01:00
test_sensor.py Add type hints to integration tests (part 22) (#88234) 2023-02-16 14:08:03 +01:00
test_switch.py Add type hints to integration tests (part 22) (#88234) 2023-02-16 14:08:03 +01:00
test_template_entity.py Add type hints to integration tests (t-z) (#87707) 2023-02-08 19:10:53 +01:00
test_trigger.py Add type hints to integration tests (part 22) (#88234) 2023-02-16 14:08:03 +01:00
test_vacuum.py Add type hints to integration tests (part 22) (#88234) 2023-02-16 14:08:03 +01:00
test_weather.py Add type hints to integration tests (part 22) (#88234) 2023-02-16 14:08:03 +01:00