Commit Graph

19 Commits

Author SHA1 Message Date
Marc Mueller
c773d57d39 Add empty line after module docstring [w-z] (#112706) 2024-03-08 10:35:45 -05:00
Jan-Philipp Benecke
bd37d3776b Set webhook local_only to True by default (#107670) 2024-01-15 11:09:40 +01:00
Marc Mueller
9221f5da10 Enable strict typing for webhook (#107946) 2024-01-13 09:08:26 -10:00
Eric Severance
a4a6972237 Set webhook local_only deprecation to 2023.11.0 (#95401) 2023-06-27 20:43:11 +02:00
rlippmann
f5911bcad6 Add slots to dataclasses in default_config (#91410)
* add dataclass slots to default config items

* remove slots from sun mixing
2023-04-14 14:22:39 -04:00
Eric Severance
94f35ea968 Add webhook trigger allowed_methods/local_only options (#66494)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-04-14 12:49:12 +02:00
epenet
253d355526 Remove unused mypy ignore statements (#78292) 2022-09-12 09:25:11 -04:00
Marc Mueller
453cbc3e14 Use TriggerActionType [core, t-z] (#76808) 2022-08-15 18:15:20 +02:00
Erik Montnemery
32b1259786 Support multiple trigger instances for a single webhook (#76037) 2022-08-02 08:54:28 +02:00
epenet
5cfb31d28a Adjust device_automation type hints in core components (#72207) 2022-05-23 16:07:34 +02:00
epenet
44a686931e Import webhook (#64102)
* Import webhook

* Adjust webhook trigger

* Fix pylint

* Add type hints to async_handle_webhook

* Revert changes to netatmo

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 12:31:02 +01: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
Erik Montnemery
b26779a27a Add id to automation triggers (#48464) 2021-03-31 14:56:04 +02:00
Philip Allgaier
dde6305549 Cleanup unused loggers (components N-Z + tests) (#41982) 2020-10-16 21:24:08 -05: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
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