epenet
397c28b9b6
Use DOMAIN constant in test (async_setup_component h-n) ( #173015 )
2026-06-08 16:28:17 +02:00
epenet
cbc7a5ae8e
Use DOMAIN constant in tests (hass.services.async_call) ( #172998 )
2026-06-04 12:36:10 +02:00
epenet
88525955ce
Remove import annotations from tests ( #169527 )
2026-04-30 09:30:46 +02:00
Erik Montnemery
3529aff4b1
Revert "Add turned off and turned on triggers to input boolean ( #158824 )" ( #166240 )
2026-03-23 08:46:03 +01:00
Erik Montnemery
ba30563772
Deduplicate tests testing triggers in mode last ( #165789 )
2026-03-17 14:28:10 +01:00
Erik Montnemery
6c9fc7c7a1
Deduplicate tests testing triggers in mode first ( #165779 )
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-03-17 12:44:21 +01:00
Erik Montnemery
fdfe87de4c
Move condition/trigger test helpers to test.components.common ( #165777 )
2026-03-17 11:08:38 +01:00
Erik Montnemery
67356de21b
Deduplicate tests testing triggers in mode any ( #165772 )
2026-03-17 10:27:12 +01:00
Erik Montnemery
4769a769e0
Use return value from target_entities directly in all trigger tests ( #165761 )
2026-03-17 09:55:08 +01:00
Erik Montnemery
9bbd9d8bcd
Deduplicate trigger tests checking labs flag ( #165760 )
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-03-17 08:19:10 +01:00
Michael
9519bd2428
Add turned off and turned on triggers to input boolean ( #158824 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com >
2026-03-10 14:26:15 +01:00
karwosts
57c024449c
Fix broken invalid_config tests ( #148965 )
2025-07-18 09:02:44 +02:00
epenet
c7e065c413
Move enable_custom_integrations fixture to decorator ( #118844 )
2024-06-05 09:20:08 +02:00
epenet
242ee04642
Improve type hints in tests (i-p) ( #118380 )
2024-05-30 08:47:08 +02:00
Marc Mueller
32f3f46542
Add empty line after module docstring (2) [tests.components] ( #112737 )
2024-03-08 19:16:21 +01:00
Marc Mueller
c88b337600
Add empty line after module docstring [tests f-k] ( #112709 )
2024-03-08 14:50:04 +01:00
J. Nick Koston
c399cab427
Small speed up to checking core state ( #107845 )
2024-01-18 08:41:32 -10:00
Jan-Philipp Benecke
92b3c0c96b
Update i-j* tests to use entity & device registry fixtures ( #103900 )
2023-11-13 11:51:55 +01:00
J. Nick Koston
d0d4ab6056
Require a list of entity ids when fetching history ( #90992 )
2023-04-08 16:14:44 -10:00
J. Nick Koston
1c57339ec3
Refactor recorder tests to use recorder history API ( #89565 )
2023-03-11 21:51:16 -05:00
Erik Montnemery
9989a4787b
Fix recorder platform tests ( #88330 )
2023-02-17 08:22:15 -06:00
epenet
1e352b60df
Add type hints to integration tests (part 11) ( #87996 )
2023-02-13 14:22:49 +01:00
epenet
37a2040d7b
Add type hints to integration tests (h-i) ( #87703 )
2023-02-08 18:12:56 +01:00
epenet
30bf0634fe
Add per-file-ignore to pylint ( #86289 )
2023-01-22 17:26:24 +01:00
Erik Montnemery
31a787558f
Ensure recorder test fixture is setup before hass fixture ( #80528 )
...
* Ensure recorder test fixture is setup before hass fixture
* Adjust more tests
2022-10-19 07:58:47 +02:00
Erik Montnemery
e2a0dd9955
Don't allow partial update of input_boolean settings ( #78372 )
2022-09-13 14:55:24 -04:00
Erik Montnemery
5f2b4001f3
Separate recorder database schema from other classes ( #72977 )
...
* Separate recorder database schema from other classes
* fix logbook imports
* migrate new tests
* few more
* last one
* fix merge
Co-authored-by: J. Nick Koston <nick@koston.org >
2022-06-07 14:41:43 +02:00
Erik Montnemery
28ebab9c5a
Simplify waiting for recorder in tests ( #70647 )
2022-04-25 12:04:47 +02:00
Erik Montnemery
982e314de6
Use recorder_mock in tests ( #70363 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com >
2022-04-22 19:29:44 -10:00
Franck Nijhof
38a1ef45ed
Add recorder platform to input_boolean ( #70154 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2022-04-18 11:38:48 +02:00
Franck Nijhof
8aff8d89d2
Clean up async_reproduce_state helper usage ( #68617 )
2022-03-24 14:40:54 +01:00
Franck Nijhof
5a2b5fe7c5
Yoda assertion style removed is ( #48142 )
2021-03-20 13:55:10 +01:00
Erik Montnemery
84226da404
Update tests i-o to use async_get() instead of async_get_registry() ( #47653 )
2021-03-09 14:32:08 +01:00
Paulus Schoutsen
9e07910ab0
Mark entities as unavailable when they are removed but are still registered ( #45528 )
...
* Mark entities as unavailable when they are removed but are still registered
* Add sync_entity_lifecycle to collection helper
* Remove debug print
* Lint
* Fix tests
* Fix tests
* Update zha
* Update zone
* Fix tests
* Update hyperion
* Update rfxtrx
* Fix tests
* Pass force_remove=True from integrations
Co-authored-by: Erik <erik@montnemery.com >
2021-02-08 10:45:46 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Paulus Schoutsen
d34753473d
Use run_job for service helper ( #43696 )
2020-11-27 16:12:39 +01:00
Paulus Schoutsen
2af984917e
Use asynctest-mock in most places ( #35109 )
...
* Use asynctest-mock in most places
* Fix broken patch in pilight
2020-05-03 11:27:19 -07:00
Franck Nijhof
bc5a2da7b7
Add transition support to scenes, cleanup blocking parameter ( #34434 )
2020-04-20 18:07:50 -07:00
Alexei Chetroi
5fa7d6f22a
Allow input_* and timer component setup without config ( #30772 )
...
* Allow input_boolean setup without config.
* Allow input_number setup without config.
* Allow input_select setup without config.
* Allow input_text setup without config.
* Allow timer setup without config.
2020-01-14 22:15:59 -05:00
Paulus Schoutsen
5fdc60e067
Add Safe Mode ( #30723 )
...
* Store last working HTTP settings
* Add safe mode
* Fix tests
* Add cloud to safe mode
* Update logging text
* Fix camera tests leaving files behind
* Make emulated_hue tests not leave files behind
* Make logbook tests not leave files behind
* Make tts tests not leave files behind
* Make image_processing tests not leave files behind
* Make manual_mqtt tests not leave files behind
2020-01-14 13:03:02 -08:00
Alexei Chetroi
6740249bef
Use collection helpers for input_boolean ( #30514 )
...
* Refactor input_boolean to use config dict for instantiation.
* Refactor input_boolean to use YamlCollection.
* Add storage collection to input_boolean.
* Update homeassistant/components/input_boolean/__init__.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io >
* Doh.
* Address comments.
* Add editable device state attribute.
* Clean up entities from entity registry on removal.
Reload yaml from correct source.
* Add tests.
* Update homeassistant/components/input_boolean/__init__.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io >
* Don't reset entity state on updates.
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io >
2020-01-07 08:53:43 +01:00
Franck Nijhof
52ed9608e2
Migrate input_* tests from coroutine to async/await ( #30336 )
2020-01-01 01:22:44 +01:00
Alexei Chetroi
dc911ecc5b
Add input_boolean reload service ( #29379 )
...
* Add input_boolean reload service.
* Add reload test.
* Address comments.
Register reload service as an admin service
Setup platform even if there're no entities
2019-12-05 20:31:18 -08:00
Paulus Schoutsen
172bbf806d
Add reproduce state support to input_boolean ( #25858 )
...
* Add reproduce state support to input_boolean
* Catch unknown state
2019-08-12 16:45:04 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Paulus Schoutsen
b8cc547fa3
Move components to folders ( #20774 )
...
* Move all components into folders
* Move component tests into folders
* Fix init moving
* Move tests
* Lint
* Update coverage
* Fix service descriptions
* Update CODEOWNERS
2019-02-05 19:31:15 -08:00