Erik Montnemery and GitHub
a9becca321
Add duration to state based entity triggers ( #167740 )
2026-04-16 07:38:50 +02:00
ab5ae33290
Exclude unavailable and unknown in trigger first and last checks ( #168224 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-04-15 14:20:49 +02:00
Marc Mueller and GitHub
99a186fad7
Fix lingering tasks in condition and trigger tests ( #166967 )
2026-04-01 16:10:14 +02:00
Artur Pragacz and GitHub
6c453c8b49
Register trigger platform upon use ( #166911 )
2026-03-31 11:49:38 +02:00
Erik Montnemery and GitHub
f0fc98cb66
Remove class NumericalDomainSpec ( #166588 )
2026-03-26 13:13:07 +01:00
cd142833e7
Use NumericThresholdSelector in numeric triggers ( #166478 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2026-03-25 19:31:25 +01:00
Erik Montnemery and GitHub
d634fbcad7
Add unit of measurement handling to numeric climate triggers ( #166211 )
2026-03-23 08:29:01 +01:00
Erik Montnemery and GitHub
3616a52b37
Add temperature triggers ( #165247 )
2026-03-22 15:24:53 +01:00
11411a880d
Refactor trigger helpers ( #165455 )
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-03-16 15:26:57 +01:00
Ariel Ebersberger and GitHub
eb17367229
Add DomainSpec to trigger and condition helpers ( #165392 )
2026-03-13 19:50:19 +01:00
Erik Montnemery and GitHub
e7a1c8d001
Remove triggers binary_sensor.occupancy_cleared and occupancy_detected ( #165181 )
2026-03-11 07:37:40 +01:00
Erik Montnemery and GitHub
c037dad093
Add humidity triggers ( #165197 )
2026-03-09 20:34:26 +01:00
epenet and GitHub
b6e7a55cd1
Rename DOMAIN_xxx aliases in tests ( #163261 )
2026-02-17 14:37:17 +01:00
Bram Kragten and GitHub
72a3523193
Fix trigger selectors ( #160519 )
2026-01-09 11:43:33 +01:00
Bram Kragten and GitHub
4f5ca986ce
Fix number or entity choose schema ( #160358 )
2026-01-06 17:23:24 +01:00
Josef Zweck and GitHub
dd53a82fd5
Fix CI: Test triggers test flakyness ( #159885 )
2025-12-28 19:23:08 +01:00
Erik Montnemery and GitHub
6ff472ff87
Add light brightness triggers ( #159473 )
2025-12-22 15:54:53 +00:00
24b6b5452b
Add trigger climate.target_temperature_crossed_threshold ( #159461 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2025-12-19 21:57:10 +01:00
Erik Montnemery and GitHub
8b91ebfe30
Add test of error handling in numerical_attribute_changed triggers ( #159469 )
2025-12-19 21:40:56 +01:00
Erik Montnemery and GitHub
85dfe3a107
Add trigger climate.target_temperature_changed ( #159434 )
2025-12-19 18:39:53 +01:00
Erik Montnemery and GitHub
e63242e465
Add occupancy binary sensor triggers ( #157631 )
2025-12-02 16:37:02 +01:00
Erik Montnemery and GitHub
5fda2bccbe
Improve helpers.trigger.async_subscribe_platform_events ( #157709 )
2025-12-02 10:37:19 +01:00
Erik Montnemery and GitHub
4900d25ac8
Disable experimental triggers according to labs flag setting ( #157320 )
2025-11-26 14:27:05 +01:00
Artur Pragacz and GitHub
f6b9a0eb29
Ensure backwards compatibility for new-style configs in old triggers and conditions ( #156446 )
2025-11-22 12:37:48 +01:00
343ea1b82d
Return target in trigger description command ( #156766 )
...
Co-authored-by: Artur Pragacz <49985303+arturpragacz@users.noreply.github.com >
2025-11-18 12:16:28 +01:00
66fb5f4d95
Simplify firing of trigger actions ( #152772 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com >
2025-10-08 21:40:20 +01:00
Artur Pragacz and GitHub
cf1a745283
Move condition-specific fields into options ( #152635 )
2025-09-25 15:55:50 +02:00
Erik Montnemery and GitHub
ddfc528d63
Fix apparent copy-paste error in tests of trigger helper ( #152855 )
2025-09-24 08:38:32 +02:00
Abílio Costa and GitHub
a4f2c88c7f
Add TriggerConfig to reduce ambiguity ( #152563 )
2025-09-22 12:24:47 +01:00
Artur Pragacz and GitHub
a1f2eb44ae
Move trigger-specific fields into options in new-style triggers ( #151314 )
2025-09-18 07:35:39 +02:00
Artur Pragacz and GitHub
2b0cda0ad1
Adjust condition and trigger method names ( #150060 )
2025-08-05 19:46:03 +01:00
Artur Pragacz and GitHub
53c9c42148
Use relative trigger keys ( #149846 )
2025-08-04 23:01:40 +01:00
Artur Pragacz and GitHub
749fc318ca
Validate selectors in the trigger helper ( #149662 )
2025-07-30 14:22:55 +02:00
d2825e1c80
Don't gather TRIGGER_PLATFORM_SUBSCRIPTIONS ( #147954 )
...
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com >
2025-07-03 19:33:28 +02:00
1fb587bf03
Allow core integrations to describe their triggers ( #147075 )
...
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com >
2025-06-25 17:35:15 +01:00
Erik Montnemery and GitHub
b8044f60fc
Fix trigger config validation ( #147408 )
2025-06-24 10:13:44 +02:00
Joost Lekkerkerker and GitHub
33d83e43de
Update trigger validation message ( #126749 )
2024-09-25 15:33:03 +02:00
056e6eae82
Add a syntax for merging lists of triggers ( #117698 )
...
* Add a syntax for merging lists of triggers
* Updating to the new syntax
* Update homeassistant/helpers/config_validation.py
Co-authored-by: Erik Montnemery <erik@montnemery.com >
* fix suggestion
* update test and add comments
* not actually json
* move test to new file
* update tests
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com >
2024-09-09 13:51:32 +02:00
epenet and GitHub
38a6e666a7
Add missing return type to some test functions ( #119665 )
2024-06-14 08:26:45 +02:00
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
Matthias Alphart and GitHub
ba48da7678
Allow templates for enabling automation triggers ( #114458 )
...
* Allow templates for enabling automation triggers
* Test exception for non-limited template
* Use `cv.template` instead of `cv.template_complex`
* skip trigger with invalid enable template
instead of returning and thus not evaluating other triggers
2024-05-14 14:44:21 +02:00
Marc Mueller and GitHub
19ab3d6daf
Add empty line after module docstring [helpers + other] ( #112707 )
2024-03-08 10:36:11 -05:00
J. Nick Koston and GitHub
331989de4c
Migrate condition/state/trigger helper to use async_get_platform ( #112144 )
...
Currently these would always load the platform in the loop
if it was not already loaded
2024-03-03 21:20:47 -05:00
epenet and GitHub
5f25b71df7
Add type hints to core tests ( #88478 )
2023-02-20 11:42:56 +01:00
epenet and GitHub
c98b4e3204
Add typing to tests with single hass argument (2) ( #87675 )
...
* Add typing to tests with single hass argument (2)
* a few more
2023-02-08 08:51:43 +01:00
9d192643ee
Move PluggableAction to trigger helpers ( #81900 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
Co-authored-by: Joakim Plate <elupus@ecce.se >
Co-authored-by: Shay Levy <levyshay1@gmail.com >
2022-11-22 11:35:18 +01:00
ba6a81c565
Resolve traceback error when using variables in template triggers ( #77287 )
...
Co-authored-by: Erik <erik@montnemery.com >
2022-09-29 13:26:28 -04:00
Franck Nijhof and GitHub
9843753f30
Add alias support to all triggers ( #77184 )
2022-08-22 17:43:09 -04:00
Franck Nijhof and GitHub
e04fef3c2d
Allow disabling specific triggers/actions/conditions ( #70082 )
2022-04-15 09:33:09 -07:00
Paulus Schoutsen and GitHub
ad1e43e083
Add support for variables on trigger ( #68275 )
2022-03-18 09:25:22 +01:00