Validate device trigger schemas once (#48319)

This commit is contained in:
Erik Montnemery 2021-03-26 08:09:21 +01:00 committed by GitHub
parent de1fa706a0
commit 72281f4718
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 0 additions and 26 deletions

View file

@ -92,7 +92,6 @@ async def async_attach_trigger(
automation_info: dict,
) -> CALLBACK_TYPE:
"""Attach a trigger."""
config = TRIGGER_SCHEMA(config)
event_config = {
event_trigger.CONF_PLATFORM: CONF_EVENT,
event_trigger.CONF_EVENT_TYPE: EVENT_SHELLY_CLICK,