From f78d48a48279b92e71d32e06017c0058c14daf4c Mon Sep 17 00:00:00 2001 From: nlighteneddesign Date: Sat, 11 Jan 2020 04:45:59 +0000 Subject: [PATCH] Fix action typo --- src/editor.ts | 2 +- src/types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/editor.ts b/src/editor.ts index 171cca07..e5f568bd 100644 --- a/src/editor.ts +++ b/src/editor.ts @@ -88,7 +88,7 @@ export class BoilerplateCardEditor extends LitElement implements LovelaceCardEdi get _tap_action(): ActionConfig { if (this._config) { - return this._config.tap_aciton || { action: 'more-info' }; + return this._config.tap_action || { action: 'more-info' }; } return { action: 'more-info' }; diff --git a/src/types.ts b/src/types.ts index 5c428c04..4e64a53d 100644 --- a/src/types.ts +++ b/src/types.ts @@ -8,7 +8,7 @@ export interface BoilerplateCardConfig { show_error?: boolean; test_gui?: boolean; entity?: string; - tap_aciton?: ActionConfig; + tap_action?: ActionConfig; hold_action?: ActionConfig; double_tap_action?: ActionConfig; }