Marc Mueller
e39672078d
Use TriggerActionType [core, d-h] ( #76804 )
2022-08-15 17:39:14 +02:00
epenet
5cfb31d28a
Adjust device_automation type hints in core components ( #72207 )
2022-05-23 16:07:34 +02:00
Michael
b68a2747f3
Use relative imports [A-H] ( #61574 )
2021-12-13 20:03:01 +01:00
Marc Mueller
4513ee4ea5
Use assignment expressions 12 ( #57937 )
2021-10-20 14:34:08 -07:00
Ville Skyttä
b10fc89a6b
Automation trigger info type hint improvements ( #55402 )
...
* Make automation trigger info a TypedDict
* zwave_js trigger type hint fixes
* Remove redundant automation trigger info field presence checks
* Use async_initialize_triggers in mqtt and tasmota device_trigger tests
2021-09-04 02:25:51 +02:00
Erik Montnemery
4c9f12b9c5
Correct trace path for trigger with custom id ( #51847 )
2021-06-14 17:09:20 +02:00
Erik Montnemery
49bec86dae
Add base schema for triggers ( #51727 )
...
* Add base schema for triggers
* Tweak
* Make TRIGGER_BASE_SCHEMA a voluptuous schema
* Make state trigger BASE_SCHEMA a voluptuous schema
2021-06-11 09:51:12 +02:00
Malte Franken
fcb8ab23ab
Improve log message when zone missing in geolocation trigger ( #51522 )
...
* log warning message if zone cannot be found
* improve log message
* add test case
2021-06-06 20:03:56 +02:00
Erik Montnemery
b26779a27a
Add id to automation triggers ( #48464 )
2021-03-31 14:56:04 +02:00
Anders Melchiorsen
e7e3e09063
Raise ConditionError for zone errors ( #46253 )
...
* Raise ConditionError for zone errors
* Do not test missing state
* Handle multiple entities/zones
2021-02-19 13:14:47 +01:00
J. Nick Koston
b51a160cce
Update triggers to use HassJob ( #41450 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-10-08 09:44:34 +02:00
J. Nick Koston
15ade1232e
Setup geo_location to only track the geo_location domain ( #41254 )
...
The trigger was watching for all states
2020-10-05 14:25:41 +02:00
Phil Bruckner
e6141ae558
Add description of what caused an automation trigger to fire ( #39251 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-08-28 17:02:12 +02:00
Phil Bruckner
ca9dd0c833
Reorganize trigger code ( #38655 )
2020-08-17 11:54:56 -05:00