diff --git a/lib/extension/homeassistant.ts b/lib/extension/homeassistant.ts index a0ddfa3f5b..305d62c925 100644 --- a/lib/extension/homeassistant.ts +++ b/lib/extension/homeassistant.ts @@ -29,6 +29,15 @@ interface Discovered { discovered: boolean; } +interface ActionData { + action: string; + button?: string; + scene?: string; +} + +const ACTION_BUTTON_PATTERN: string = '^(?