Remove double logging of automation action (#20264)

This commit is contained in:
Anders Melchiorsen 2019-01-21 00:10:12 +01:00 committed by Fabian Affolter
parent 58bb6f2e99
commit 362ac725bf

View File

@ -375,8 +375,6 @@ def _async_get_action(hass, config, name):
async def action(entity_id, variables, context):
"""Execute an action."""
_LOGGER.info('Executing %s', name)
hass.components.logbook.async_log_entry(
name, 'has been triggered', DOMAIN, entity_id)
try:
await script_obj.async_run(variables, context)