vexofp
8ba1340c2e
Clarify cover toggle logic; prevent opening when already open ( #107920 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-04-18 14:58:16 +02:00
Sid
d5f883fbf0
Unignore Ruff PLR in tests ( #114470 )
...
* Unignore Ruff PLR in tests
* Address review comments
* review comments
* fix import
* Update test_api.py
* Update test_api.py
* Update test_api.py
2024-04-01 11:11:59 +02:00
Jan-Philipp Benecke
34cf0c5721
Use `setup_test_component_platform` func for cover entity component tests instead of `hass.components` ( #114010 )
...
* Use `mock_platform` for cover entity component tests instead of `hass.components`
* Remove setup fixture and use helper function
* Remove is_on from MockCover
* Run ruff
* Do not override state in `MockCover` in cover tests
* Remove is_on from MockCover
2024-03-27 12:20:19 +01:00
Joost Lekkerkerker
c75342bd9a
Improve lists in integrations [C-D] ( #113072 )
2024-03-11 18:58:35 +01:00
Marc Mueller
38adfbf1a3
Add empty line after module docstring [tests a-e] ( #112708 )
2024-03-08 08:50:25 -05:00
vexofp
3c53693fe3
Prevent toggle from calling stop on covers which do not support it ( #106848 )
...
* Prevent toggle from calling stop on covers which do not support it
* Update homeassistant/components/cover/__init__.py
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-01-09 12:32:27 +01:00
Erik Montnemery
c805ea7b4f
Include deprecated constants in wildcard imports ( #107114 )
2024-01-05 11:46:45 +01:00
J. Nick Koston
7051f28547
Add deprecation warning for cover supported features when using magic numbers ( #106618 )
2023-12-29 08:34:08 +01:00
Robert Resch
9830f77e9e
Deprecate deprecated cover constants ( #106098 )
2023-12-20 18:04:44 +01:00
epenet
9f688a564f
Add type hints to integration tests (part 4) ( #87848 )
2023-02-11 08:26:13 +01:00
Franck Nijhof
cf371ea8dd
Remove deprecated base entity classes ( #61006 )
...
* Remove deprecated base entity classes
* Clean up tests
2021-12-05 13:53:52 +01:00
Oliver Gruß
eec84ad71e
Mqtt cover toggle add stop function ( #59233 )
...
* Change existing toggle to add new function
* Fixed using old property method to using actual protected variable.
* Adding service tests to new cover toggle function
* Working on comments from Pull Request 59233
* Adjust existing tests to fit new fake cover setup
* MockCover is calling state method of MockEntity but should call it from CoverEntity
* using different entity to get back test coverage
2021-11-10 09:03:20 +01:00
Erik Montnemery
8c5c963b96
Rename CoverDevice to CoverEntity ( #34595 )
2020-04-25 18:07:15 +02:00
Paulus Schoutsen
d1aa0cea97
Move intent registration to own integration ( #29280 )
...
* Move intent registration to own integration.
* Lint
2019-12-01 14:12:57 -08:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Paulus Schoutsen
65432ba552
Move core stuff into Home Assistant integration ( #22407 )
...
* Move core stuff into Home Assistant integration
* Lint
2019-03-26 13:38:32 +01:00
Ville Skyttä
37ccf87516
Remove unnecessary executable permissions ( #15469 )
2018-07-14 23:03:36 +02:00
Tod Schmidt
bf44dc422c
Added HassOpenCover and HassCloseCover intents ( #13372 )
...
* Added intents to cover
* Added test for cover intents
* Style fixes
* Reverted reversions
* Async fixes
* Woof
* Added conditional loading
* Added conditional loading
* Added conditional loading
* Moved tests, fixed logic
* Moved tests, fixed logic
* Pylint
* Pylint
* Refactored componenet registration
* Refactored componenet registration
* Lint
2018-03-30 17:22:48 -07:00