mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 10:17:09 +00:00
Remove double logging of automation action (#20264)
This commit is contained in:
parent
58bb6f2e99
commit
362ac725bf
@ -375,8 +375,6 @@ def _async_get_action(hass, config, name):
|
|||||||
async def action(entity_id, variables, context):
|
async def action(entity_id, variables, context):
|
||||||
"""Execute an action."""
|
"""Execute an action."""
|
||||||
_LOGGER.info('Executing %s', name)
|
_LOGGER.info('Executing %s', name)
|
||||||
hass.components.logbook.async_log_entry(
|
|
||||||
name, 'has been triggered', DOMAIN, entity_id)
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
await script_obj.async_run(variables, context)
|
await script_obj.async_run(variables, context)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user