Erik Montnemery
b6b8391cbf
Remove purpose-specific triggers and conditions from labs ( #174450 )
2026-06-22 16:58:51 +01:00
epenet
d4accebb3b
Use DOMAIN constant in test (async_setup_component a-g) ( #173013 )
2026-06-08 15:58:54 +02:00
epenet
90d45432dc
Use DOMAIN constant in tests (async_mock_service) ( #173002 )
2026-06-04 12:35:54 +02:00
Erik Montnemery
f8a65a7c6f
Rename trigger behavior options ( #172348 )
2026-05-27 16:01:11 +02:00
Ariel Ebersberger
5432d29489
Use is/is not for same-enum identity comparisons (tests) ( #171689 )
2026-05-22 11:32:27 +02:00
Franck Nijhof
87b151a436
Fix line length violations in tests/components d-f ( #170881 )
2026-05-16 21:17:51 +02:00
epenet
88525955ce
Remove import annotations from tests ( #169527 )
2026-04-30 09:30:46 +02:00
Erik Montnemery
aad93fd577
Add tests asserting condition features ( #168881 )
2026-04-24 18:41:39 +02:00
Erik Montnemery
1e6c832c9a
Add tests asserting trigger features ( #168407 )
2026-04-17 08:37:47 +02:00
Erik Montnemery
84f57f9859
Deduplicate toggle entity condition tests ( #168195 )
2026-04-15 08:19:09 +02:00
Erik Montnemery
f84398eb9c
Speed up trigger tests ( #166522 )
2026-03-26 00:51:14 +01:00
Erik Montnemery and Copilot Autofix powered by AI
ea7558c0ad
Improve naming in condition and trigger test helpers ( #165847 )
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-03-18 08:44:14 +01:00
Erik Montnemery
fa7a216afe
Use return value from target_entities directly in condition tests ( #165791 )
2026-03-17 14:55:17 +01:00
Erik Montnemery
ba30563772
Deduplicate tests testing triggers in mode last ( #165789 )
2026-03-17 14:28:10 +01:00
Erik Montnemery and Copilot Autofix powered by AI
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 and Copilot Autofix powered by AI
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
Erik Montnemery
6c1b44aae2
Improve docstrings in condition tests ( #161431 )
2026-01-23 15:28:41 -05:00
Erik Montnemery
deefcbcbe4
Remove stub_blueprint_populate test fixture ( #161288 )
2026-01-20 15:46:06 +01:00
Erik Montnemery
d1404e7905
Simplify logic in condition tests ( #161239 )
2026-01-20 10:39:47 +01:00
Erik Montnemery
9b9f94414b
Add shared helper to assert conditions are hidden behind labs flag ( #160941 )
2026-01-14 16:53:17 +00:00
Erik Montnemery
f01653633d
Add shared enable_experimental_triggers_conditions test fixture ( #160937 )
2026-01-14 16:01:06 +00:00
Erik Montnemery
1ace3e248f
Add create_target_condition test helper ( #160936 )
2026-01-14 16:19:41 +01:00
Erik Montnemery and Norbert Rittel
892618d2ff
Add fan conditions ( #160832 )
...
Co-authored-by: Norbert Rittel <norbert@rittel.de >
2026-01-14 15:50:22 +01:00
Erik Montnemery
a902f3bb00
Improve comments in trigger and condition test helpers ( #160830 )
2026-01-14 11:42:32 +00:00
Erik Montnemery
1e6b0ba9ec
Allow passing trigger options to parametrize_trigger_states ( #160119 )
2026-01-05 10:44:31 +01:00
Abílio Costa
a35af9097b
Remove uneeded async_setup_component from trigger/condition tests ( #157873 )
2025-12-04 17:21:30 +00:00
Erik Montnemery
e63242e465
Add occupancy binary sensor triggers ( #157631 )
2025-12-02 16:37:02 +01:00
Erik Montnemery
4900d25ac8
Disable experimental triggers according to labs flag setting ( #157320 )
2025-11-26 14:27:05 +01:00
8dd35cb129
Add entity triggers and conditions ( #156852 )
...
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com >
Co-authored-by: Artur Pragacz <49985303+arturpragacz@users.noreply.github.com >
Co-authored-by: abmantis <amfcalt@gmail.com >
Co-authored-by: Bram Kragten <mail@bramkragten.nl >
Co-authored-by: Franck Nijhof <git@frenck.dev >
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2025-11-25 17:52:20 +01:00
Matthias Alphart
63640af4d4
Update voluptuous-serialize to 2.7.0 ( #150822 )
2025-08-19 16:42:49 +02:00
Michael Hansen
2c0ed2cbfe
Add intent for setting fan speed ( #150576 )
2025-08-13 18:57:25 +02:00
epenet
7b1b229718
Standardize homeassistant imports in component tests (a-l) ( #136806 )
2025-01-29 10:00:45 +01:00
epenet
b43379be7d
Standardize helpers.xxx_registry imports ( #136688 )
...
Standardize registry imports
2025-01-28 08:48:34 +01:00
epenet
17afe1ae51
Remove deprecated supported features warning in FanEntity ( #132369 )
2024-12-05 20:32:59 +01:00
Robert Resch
0c5c09390c
Remove deprecated fan constants ( #131845 )
2024-11-28 16:56:04 +01:00
epenet
5608301178
Add missing return type in test __init__ methods ( #123932 )
...
* Add missing return type in test __init__ methods
* Adjust
2024-08-14 16:48:52 +02:00
G Johansson
ca4c617d4b
Add TURN_OFF/TURN_ON feature flags for fan ( #121447 )
2024-07-19 11:35:24 +02:00
epenet
07f095aa42
Use service_calls fixture in core platform tests [a-l] ( #120904 )
2024-07-01 19:27:50 +02:00
epenet
3e9d25f81d
Add missing argument type hints to component tests ( #119671 )
2024-06-14 09:26:46 +02:00
epenet
abb8c58b87
Fix consider-using-tuple pylint warnings in core tests ( #119463 )
2024-06-12 12:35:01 +02:00
epenet
b8e57f6174
Use relative imports in tests [a-i] ( #119280 )
2024-06-10 12:52:34 +02:00
Sid
721b2c2ca8
Enable Ruff PT012 ( #113957 )
2024-06-08 17:59:08 +02:00
epenet
7e62061b9a
Improve typing for calls fixture in tests (a-l) ( #118349 )
...
* Improve typing for `calls` fixture in tests (a-l)
* More
* More
2024-05-29 09:06:48 +02:00
9bf87329da
Enable Ruff FLY002 rule ( #115112 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com >
2024-04-12 09:04:16 +02:00
Sid
3efee10b95
Enable Ruff RUF013 ( #115333 )
2024-04-10 08:55:59 +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 and Martin Hjelmare
247ee6e4f0
Address late review comments for fan entity component test ( #114425 )
...
* Address late review comments for fan entity component test
* Update tests/components/fan/common.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2024-03-29 10:18:57 +01:00