Commit Graph
142 Commits
Author SHA1 Message Date
Robert ReschandGitHub 77e9fe3a35 Enable ruff rule RUF036 (none-not-at-end-of-union) (#177543) 2026-07-29 14:43:38 +02:00
Ngoc N. TranandGitHub 0355339329 Fix UnboundLocalError in state condition with an empty state value (#176634) 2026-07-29 13:41:54 +02:00
Franck NijhofGitHubcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
0cf4a8240d Extract entities from zone condition options (#175421)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-07-12 13:17:58 +02:00
Franck NijhofandGitHub aeeb57305b Extract entities from time triggers and time conditions (#175503) 2026-07-08 02:58:59 -04:00
Erik MontnemeryandGitHub de9d9c66c1 Add additional sun conditions (#174537) 2026-06-24 16:00:08 +02:00
Erik MontnemeryandGitHub b6b8391cbf Remove purpose-specific triggers and conditions from labs (#174450) 2026-06-22 16:58:51 +01:00
Erik MontnemeryandGitHub 9cd7ea97e9 Improve condition history manager (#174069) 2026-06-16 21:17:34 +02:00
Erik MontnemeryandGitHub e6b3a97162 Avoid flooding the recorder when priming condition history (#174020) 2026-06-16 17:06:34 +02:00
Erik MontnemeryandGitHub c544f95979 Prime condition durations from history (#173426) 2026-06-16 07:53:41 +02:00
Erik MontnemeryandGitHub ffc6eeadc2 Always include template errors in trace (#172917) 2026-06-04 16:28:05 +02:00
Erik MontnemeryandGitHub dd7bd0c8a4 Prevent log spam when WS subscribe_condition is active (#172832) 2026-06-03 10:10:30 +02:00
Erik MontnemeryandGitHub 4bf3a5b4bd Adjust behavior of numerical condition and trigger between and outside (#172335) 2026-05-27 17:03:58 +02:00
Erik MontnemeryandGitHub 00a0fae7bc Improve numerical trigger and condition tests (#172308) 2026-05-27 11:23:49 +02:00
Franck NijhofandGitHub db0006c100 Fix shorthand template conditions in choose blocks crashing all automations (#171018) 2026-05-17 23:25:37 +02:00
Franck NijhofGitHubcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>frenck
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 MontnemeryandGitHub 011ebec001 Adjust condition API (#170486) 2026-05-13 16:02:45 +02:00
Erik MontnemeryandGitHub 676df1d2b2 Fix cv.CONDITION_SCHEMA (#170395) 2026-05-12 11:39:43 +02:00
Erik MontnemeryandGitHub c3f8f6f310 Use modern API in condition tests (#170002) 2026-05-07 17:33:00 +02:00
Erik MontnemeryandGitHub cf8bc55add Add media_player muted conditions (#169892) 2026-05-06 12:38:05 +02:00
Erik MontnemeryGitHubcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>frenck
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 CostaandGitHub 7cb1d5b8ab Allow targeting non-primary entities in conditions (#169291) 2026-04-29 12:25:26 +02:00
2a5b95ba4d Require hass in Template (#169292)
Co-authored-by: Copilot <copilot@github.com>
2026-04-29 09:26:32 +02:00
Erik MontnemeryandGitHub 96bd991bb8 Use modern condition API in condition helper tests (#169353) 2026-04-28 13:04:21 +02:00
Erik MontnemeryandGitHub 73dcc2f5a8 Add missing call to ConditionChecker.async_setup in async_from_config (#169055) 2026-04-28 10:30:11 +02:00
Erik MontnemeryandGitHub 4eb000d863 Add state tracking to EntityConditionBase (#169030) 2026-04-28 09:14:46 +02:00
Erik MontnemeryandGitHub 8d5f83e5f1 Add explicit test of conditions.async_conditions_from_config (#169042) 2026-04-28 08:24:43 +02:00
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
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 MontnemeryandGitHub db01b8e421 Migrate async_conditions_from_config to ConditionChecker (#169033) 2026-04-24 14:28:10 +02:00
Erik MontnemeryandGitHub ed7f2b1810 Migrate compound conditions to ConditionChecker (#169028) 2026-04-24 09:44:28 +02:00
cebe4aa685 Refactor condition API (#168815)
Co-authored-by: Artur Pragacz <artur@pragacz.com>
2026-04-24 07:46:34 +02:00
Erik MontnemeryandGitHub 7b8978c7e5 Add duration to state based entity conditions (#168348) 2026-04-16 16:12:59 +02:00
Erik MontnemeryandGitHub 4f8e7125d4 Add state based condition tests (#168349) 2026-04-16 11:22:14 +02:00
Marc MuellerandGitHub 99a186fad7 Fix lingering tasks in condition and trigger tests (#166967) 2026-04-01 16:10:14 +02:00
Artur PragaczandGitHub 24e0627b41 Register condition platform upon use (#166939) 2026-03-31 11:53:36 +02:00
Erik MontnemeryandGitHub a7de418213 Add light.is_brightness condition (#166601) 2026-03-26 17:58:44 +01:00
Erik MontnemeryandGitHub f0fc98cb66 Remove class NumericalDomainSpec (#166588) 2026-03-26 13:13:07 +01:00
Erik MontnemeryandGitHub c5955ada1a Use NumericThresholdSelector in numeric conditions (#166507) 2026-03-25 20:57:12 +01:00
Erik MontnemeryandGitHub 66311508ad Add power conditions (#166364) 2026-03-24 19:05:16 +01:00
Erik MontnemeryandGitHub 580ae1e81b Add numerical climate conditions (#166309) 2026-03-24 11:38:14 +01:00
03c672a4f3 Add battery conditions (#165208)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2026-03-23 22:18:48 +01:00
epenetandGitHub b6e7a55cd1 Rename DOMAIN_xxx aliases in tests (#163261) 2026-02-17 14:37:17 +01:00
Artur PragaczandGitHub 2d33a720f7 Modernise condition checker in helper (#159159) 2025-12-16 10:46:10 +01:00
Artur PragaczandGitHub 2dec3befcd Assign hass in Condition init (#158062) 2025-12-05 19:04:11 +00:00
Erik MontnemeryandGitHub ec66407ef1 Improve helpers.condition.async_subscribe_platform_events (#157710) 2025-12-02 11:32:14 +01:00
Erik MontnemeryandGitHub 21d914c8ca Disable experimental conditions according to labs flag setting (#157345) 2025-11-26 17:59:12 +01:00
Artur PragaczandGitHub f6b9a0eb29 Ensure backwards compatibility for new-style configs in old triggers and conditions (#156446) 2025-11-22 12:37:48 +01:00
Artur PragaczandGitHub cf1a745283 Move condition-specific fields into options (#152635) 2025-09-25 15:55:50 +02:00
Erik MontnemeryandGitHub 0f372f4b47 Improve condition schema validation (#144793) 2025-09-16 10:44:26 +02:00
Artur PragaczandGitHub 98df5f5f0c Validate selectors in the condition helper (#151884) 2025-09-08 14:20:11 +02:00