Webhook names (#18206)
* Add new automation_info param to async_trigger * Add domain and name to webhook registration and add WS command
This commit is contained in:
parent
6e4ce35a69
commit
2e9132873a
20 changed files with 119 additions and 54 deletions
|
@ -28,7 +28,7 @@ TRIGGER_SCHEMA = vol.All(vol.Schema({
|
|||
}), cv.has_at_least_one_key(CONF_HOURS, CONF_MINUTES, CONF_SECONDS, CONF_AT))
|
||||
|
||||
|
||||
async def async_trigger(hass, config, action):
|
||||
async def async_trigger(hass, config, action, automation_info):
|
||||
"""Listen for state changes based on configuration."""
|
||||
if CONF_AT in config:
|
||||
at_time = config.get(CONF_AT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue