diff --git a/lib/extension/homeassistant.ts b/lib/extension/homeassistant.ts index a0ddfa3f5b..d23bc90284 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 = '^(?