hass-core/homeassistant
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
..
auth Avoid subprocess memory copy when c library supports posix_spawn (#87958) 2023-02-13 09:02:51 -05:00
backports Add Self typing (1) [mypy 1.0] (#87598) 2023-02-06 22:29:47 -06:00
brands Add Matter to supported standards for brands (#87564) 2023-02-06 20:09:01 -05:00
components Fix cover template: optimistic mode is ignored (#87925) 2023-02-22 15:54:18 +01:00
generated Activate thread integration if thread border routers are present (#88551) 2023-02-21 16:22:00 +00:00
helpers Improve trigger platform typing (#88511) 2023-02-22 11:59:53 +01:00
scripts Stricter pylint message control (#86154) 2023-01-20 13:47:55 +01:00
util Add typed helpers and improve type hints in util/json (#88534) 2023-02-22 10:09:28 +01:00
__init__.py
__main__.py Stricter pylint message control (#86154) 2023-01-20 13:47:55 +01:00
block_async_io.py Core code styling improvements (#85963) 2023-01-15 23:00:51 +01:00
bootstrap.py Use entity_sources to determine integration in recorder platforms (#88382) 2023-02-18 07:21:41 -06:00
config.py Enable T20 (flake8-print) to ban use of print statements (#86525) 2023-01-24 14:24:21 +01:00
config_entries.py Add background tasks to config entries (#88335) 2023-02-17 13:50:05 -05:00
const.py Move EntityCategory to homeassistant.const (#87792) 2023-02-09 20:15:37 +01:00
core.py Add clarifying comment about unit of elevation (#88489) 2023-02-22 09:06:43 -05:00
data_entry_flow.py Dismiss discoveries when the underlying device disappears (#88340) 2023-02-17 15:51:19 -05:00
exceptions.py Fix can not typo (#87254) 2023-02-03 11:37:16 +01:00
loader.py Inverse json import logic (#88099) 2023-02-16 11:37:57 +01:00
package_constraints.txt Bump sqlalchemy to 2.0.4 (#88574) 2023-02-21 21:11:16 -05:00
requirements.py Core code styling improvements (#85963) 2023-01-15 23:00:51 +01:00
runner.py Avoid subprocess memory copy when c library supports posix_spawn (#87958) 2023-02-13 09:02:51 -05:00
setup.py Only wait for import flows to initialize at setup (#86106) 2023-01-18 10:44:18 +01:00
strings.json Add a timeout during OAuth token exchange and additional debug logging (#85911) 2023-01-16 19:52:43 +01:00