Bram Kragten
72a3523193
Fix trigger selectors ( #160519 )
2026-01-09 11:43:33 +01:00
Bram Kragten
4f5ca986ce
Fix number or entity choose schema ( #160358 )
2026-01-06 17:23:24 +01:00
Josef Zweck
dd53a82fd5
Fix CI: Test triggers test flakyness ( #159885 )
2025-12-28 19:23:08 +01:00
Erik Montnemery
6ff472ff87
Add light brightness triggers ( #159473 )
2025-12-22 15:54:53 +00:00
Erik Montnemery
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
8b91ebfe30
Add test of error handling in numerical_attribute_changed triggers ( #159469 )
2025-12-19 21:40:56 +01:00
Erik Montnemery
85dfe3a107
Add trigger climate.target_temperature_changed ( #159434 )
2025-12-19 18:39:53 +01:00
Erik Montnemery
e63242e465
Add occupancy binary sensor triggers ( #157631 )
2025-12-02 16:37:02 +01:00
Erik Montnemery
5fda2bccbe
Improve helpers.trigger.async_subscribe_platform_events ( #157709 )
2025-12-02 10:37:19 +01:00
Erik Montnemery
4900d25ac8
Disable experimental triggers according to labs flag setting ( #157320 )
2025-11-26 14:27:05 +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
Abílio Costa
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
Abílio Costa
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
cf1a745283
Move condition-specific fields into options ( #152635 )
2025-09-25 15:55:50 +02:00
Erik Montnemery
ddfc528d63
Fix apparent copy-paste error in tests of trigger helper ( #152855 )
2025-09-24 08:38:32 +02:00
Abílio Costa
a4f2c88c7f
Add TriggerConfig to reduce ambiguity ( #152563 )
2025-09-22 12:24:47 +01:00
Artur Pragacz
a1f2eb44ae
Move trigger-specific fields into options in new-style triggers ( #151314 )
2025-09-18 07:35:39 +02:00
Artur Pragacz
2b0cda0ad1
Adjust condition and trigger method names ( #150060 )
2025-08-05 19:46:03 +01:00
Artur Pragacz
53c9c42148
Use relative trigger keys ( #149846 )
2025-08-04 23:01:40 +01:00
Artur Pragacz
749fc318ca
Validate selectors in the trigger helper ( #149662 )
2025-07-30 14:22:55 +02:00
Erik Montnemery
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
Erik Montnemery
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
b8044f60fc
Fix trigger config validation ( #147408 )
2025-06-24 10:13:44 +02:00
Joost Lekkerkerker
33d83e43de
Update trigger validation message ( #126749 )
2024-09-25 15:33:03 +02:00
karwosts
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
38a6e666a7
Add missing return type to some test functions ( #119665 )
2024-06-14 08:26:45 +02: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
Matthias Alphart
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
19ab3d6daf
Add empty line after module docstring [helpers + other] ( #112707 )
2024-03-08 10:36:11 -05:00
J. Nick Koston
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
5f25b71df7
Add type hints to core tests ( #88478 )
2023-02-20 11:42:56 +01:00
epenet
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
epenet
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
ehendrix23
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
9843753f30
Add alias support to all triggers ( #77184 )
2022-08-22 17:43:09 -04:00
Franck Nijhof
e04fef3c2d
Allow disabling specific triggers/actions/conditions ( #70082 )
2022-04-15 09:33:09 -07:00
Paulus Schoutsen
ad1e43e083
Add support for variables on trigger ( #68275 )
2022-03-18 09:25:22 +01:00
Raman Gupta
036e99e91e
Allow integrations to define trigger platforms with a subtype ( #54861 )
2021-08-19 21:43:04 -07:00
Phil Bruckner
ca9dd0c833
Reorganize trigger code ( #38655 )
2020-08-17 11:54:56 -05:00