abmantis
7a86007083
Add tests for different action type
2025-10-06 22:08:46 +01:00
abmantis
82f1ae3519
Rename class; add doc
2025-10-02 16:19:41 +01:00
abmantis
b8660b4248
Rename callback type
2025-10-01 22:12:51 +01:00
abmantis
bdd448fbe0
Allow overriding trigger runner helper
2025-10-01 16:24:50 +01:00
abmantis
b7c6e21707
Merge branch 'dev' of github.com:home-assistant/core into trigger_action_ux
2025-09-25 15:13:55 +01:00
Artur Pragacz
cf1a745283
Move condition-specific fields into options ( #152635 )
2025-09-25 15:55:50 +02:00
abmantis
526541f666
Merge branch 'dev' of github.com:home-assistant/core into trigger_action_ux
2025-09-24 14:37:52 +01:00
Erik Montnemery
ddfc528d63
Fix apparent copy-paste error in tests of trigger helper ( #152855 )
2025-09-24 08:38:32 +02:00
abmantis
01d81f8980
Move attach_trigger out of Trigger class
2025-09-23 16:30:22 +01:00
abmantis
7d96a814f9
Simplify firing of trigger actions
2025-09-22 19:16:30 +01: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