Erik Montnemery
4bf3a5b4bd
Adjust behavior of numerical condition and trigger between and outside ( #172335 )
2026-05-27 17:03:58 +02:00
Erik Montnemery
00a0fae7bc
Improve numerical trigger and condition tests ( #172308 )
2026-05-27 11:23:49 +02:00
Franck Nijhof
db0006c100
Fix shorthand template conditions in choose blocks crashing all automations ( #171018 )
2026-05-17 23:25:37 +02:00
Franck Nijhof
9a1fd913bf
Fix line length violations in tests (non-components) ( #170804 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: frenck <195327+frenck@users.noreply.github.com >
2026-05-17 10:30:45 -04:00
Erik Montnemery
011ebec001
Adjust condition API ( #170486 )
2026-05-13 16:02:45 +02:00
Erik Montnemery
676df1d2b2
Fix cv.CONDITION_SCHEMA ( #170395 )
2026-05-12 11:39:43 +02:00
Erik Montnemery
c3f8f6f310
Use modern API in condition tests ( #170002 )
2026-05-07 17:33:00 +02:00
Erik Montnemery
cf8bc55add
Add media_player muted conditions ( #169892 )
2026-05-06 12:38:05 +02:00
Erik Montnemery
05eeb6a1bc
Enable duration support in all entity conditions ( #169532 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: frenck <195327+frenck@users.noreply.github.com >
2026-04-30 18:13:06 +02:00
Abílio Costa
7cb1d5b8ab
Allow targeting non-primary entities in conditions ( #169291 )
2026-04-29 12:25:26 +02:00
Robert Resch
2a5b95ba4d
Require hass in Template ( #169292 )
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-29 09:26:32 +02:00
Erik Montnemery
96bd991bb8
Use modern condition API in condition helper tests ( #169353 )
2026-04-28 13:04:21 +02:00
Erik Montnemery
73dcc2f5a8
Add missing call to ConditionChecker.async_setup in async_from_config ( #169055 )
2026-04-28 10:30:11 +02:00
Erik Montnemery
4eb000d863
Add state tracking to EntityConditionBase ( #169030 )
2026-04-28 09:14:46 +02:00
Erik Montnemery
8d5f83e5f1
Add explicit test of conditions.async_conditions_from_config ( #169042 )
2026-04-28 08:24:43 +02:00
Simone Chemelli
ec18e0c6d4
Add uptime device class to the sensor platform ( #164266 )
...
Co-authored-by: Copilot <copilot@github.com >
2026-04-24 16:18:17 +01:00
Erik Montnemery
7d494f687e
Adjust compound conditions ( #169054 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-04-24 16:21:13 +02:00
Erik Montnemery
db01b8e421
Migrate async_conditions_from_config to ConditionChecker ( #169033 )
2026-04-24 14:28:10 +02:00
Erik Montnemery
ed7f2b1810
Migrate compound conditions to ConditionChecker ( #169028 )
2026-04-24 09:44:28 +02:00
Erik Montnemery
cebe4aa685
Refactor condition API ( #168815 )
...
Co-authored-by: Artur Pragacz <artur@pragacz.com >
2026-04-24 07:46:34 +02:00
Erik Montnemery
7b8978c7e5
Add duration to state based entity conditions ( #168348 )
2026-04-16 16:12:59 +02:00
Erik Montnemery
4f8e7125d4
Add state based condition tests ( #168349 )
2026-04-16 11:22:14 +02:00
Marc Mueller
99a186fad7
Fix lingering tasks in condition and trigger tests ( #166967 )
2026-04-01 16:10:14 +02:00
Artur Pragacz
24e0627b41
Register condition platform upon use ( #166939 )
2026-03-31 11:53:36 +02:00
Erik Montnemery
a7de418213
Add light.is_brightness condition ( #166601 )
2026-03-26 17:58:44 +01:00
Erik Montnemery
f0fc98cb66
Remove class NumericalDomainSpec ( #166588 )
2026-03-26 13:13:07 +01:00
Erik Montnemery
c5955ada1a
Use NumericThresholdSelector in numeric conditions ( #166507 )
2026-03-25 20:57:12 +01:00
Erik Montnemery
66311508ad
Add power conditions ( #166364 )
2026-03-24 19:05:16 +01:00
Erik Montnemery
580ae1e81b
Add numerical climate conditions ( #166309 )
2026-03-24 11:38:14 +01:00
Ariel Ebersberger
03c672a4f3
Add battery conditions ( #165208 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com >
2026-03-23 22:18:48 +01:00
epenet
b6e7a55cd1
Rename DOMAIN_xxx aliases in tests ( #163261 )
2026-02-17 14:37:17 +01:00
Artur Pragacz
2d33a720f7
Modernise condition checker in helper ( #159159 )
2025-12-16 10:46:10 +01:00
Artur Pragacz
2dec3befcd
Assign hass in Condition init ( #158062 )
2025-12-05 19:04:11 +00:00
Erik Montnemery
ec66407ef1
Improve helpers.condition.async_subscribe_platform_events ( #157710 )
2025-12-02 11:32:14 +01:00
Erik Montnemery
21d914c8ca
Disable experimental conditions according to labs flag setting ( #157345 )
2025-11-26 17:59:12 +01:00
Artur Pragacz
f6b9a0eb29
Ensure backwards compatibility for new-style configs in old triggers and conditions ( #156446 )
2025-11-22 12:37:48 +01:00
Artur Pragacz
cf1a745283
Move condition-specific fields into options ( #152635 )
2025-09-25 15:55:50 +02:00
Erik Montnemery
0f372f4b47
Improve condition schema validation ( #144793 )
2025-09-16 10:44:26 +02:00
Artur Pragacz
98df5f5f0c
Validate selectors in the condition helper ( #151884 )
2025-09-08 14:20:11 +02:00
Artur Pragacz
06130219b4
Use relative condition keys ( #150021 )
2025-08-06 17:20:30 +01:00
Artur Pragacz
2b0cda0ad1
Adjust condition and trigger method names ( #150060 )
2025-08-05 19:46:03 +01:00
Erik Montnemery
6396f54e0d
Move zone conditions to the zone integration ( #148157 )
2025-07-07 18:27:44 +02:00
Erik Montnemery
510fd09163
Allow core integrations to describe their conditions ( #147529 )
...
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com >
2025-07-04 16:03:42 +02:00
Erik Montnemery
26e3caea9a
Add support for condition platforms to provide multiple conditions ( #147376 )
2025-06-25 18:10:30 +01:00
Erik Montnemery
0128d85999
Move sun conditions to the sun integration ( #144742 )
2025-05-12 23:03:37 +01:00
Erik Montnemery
cc5c8bf5e3
Make helpers.frame.report_usage work when called from any thread ( #139836 )
...
* Make helpers.frame.report_usage work when called from any thread
* Address review comments, update tests
* Add test
* Update test
* Update recorder test
* Update tests
2025-03-05 19:37:34 +01:00
epenet
364556a7dd
Prefer from...import...as over import...as in core tests ( #136146 )
2025-01-21 09:28:17 +01:00
Simon Lamon
ee74a35417
Support time entities in time conditions ( #124575 )
...
Co-authored-by: Mark Bergsma <mark@wikked.net >
2024-11-26 15:37:31 +01:00
epenet
6733f86c61
Use service_calls fixture in helper tests ( #119275 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl >
2024-06-10 14:57:34 +02:00
Sid
721b2c2ca8
Enable Ruff PT012 ( #113957 )
2024-06-08 17:59:08 +02:00