Skip to content

Commit

Permalink
Handle fire-dom-event
Browse files Browse the repository at this point in the history
  • Loading branch information
RomRider authored Feb 12, 2021
1 parent 9ca4909 commit fccd611
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/handle-click.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ export const handleClick = (
}
hass.callService(domain, service, serviceData);
if (actionConfig.haptic) forwardHaptic(actionConfig.haptic);
break;
}
case "fire-dom-event": {
fireEvent(node, "ll-custom", actionConfig);
if (actionConfig.haptic) forwardHaptic(actionConfig.haptic);
break;
}
}
};

0 comments on commit fccd611

Please sign in to comment.