1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-18 12:59:14 +00:00

10 Commits

Author SHA1 Message Date
Ville Skyttä
b10fc89a6b
Automation trigger info type hint improvements ()
* 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 () 2021-06-14 17:09:20 +02:00
Erik Montnemery
49bec86dae
Add base schema for triggers ()
* 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
Erik Montnemery
b26779a27a
Add id to automation triggers () 2021-03-31 14:56:04 +02:00
Anders Melchiorsen
e7e3e09063
Raise ConditionError for zone errors ()
* Raise ConditionError for zone errors

* Do not test missing state

* Handle multiple entities/zones
2021-02-19 13:14:47 +01:00
Matthew Donoughe
bc4bbaf6ef
Add device trigger support for device trackers ()
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-11-09 12:04:16 +01:00
J. Nick Koston
b51a160cce
Update triggers to use HassJob ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-10-08 09:44:34 +02:00
Phil Bruckner
e6141ae558
Add description of what caused an automation trigger to fire ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-08-28 17:02:12 +02:00
Paulus Schoutsen
2a1fe9d29a
Add websocket trigger/condition commands () 2020-08-24 23:01:57 +02:00
Phil Bruckner
ca9dd0c833
Reorganize trigger code () 2020-08-17 11:54:56 -05:00