core/homeassistant/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
..
__init__.py
alarm_control_panel.py
binary_sensor.py
button.py
config.py
const.py
cover.py Fix cover template: optimistic mode is ignored (#87925) 2023-02-22 15:54:18 +01:00
fan.py
light.py
lock.py
manifest.json
number.py
select.py
sensor.py
services.yaml
switch.py
template_entity.py
trigger.py
trigger_entity.py
vacuum.py
weather.py