Skip to content

Commit

Permalink
Allow to call service from ha-card (#1168)
Browse files Browse the repository at this point in the history
  • Loading branch information
piitaya authored Jun 16, 2023
1 parent 08cd2ca commit 8e60208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cards/title-card/title-card-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { loadHaComponents } from "../../utils/loader";
import { TITLE_CARD_EDITOR_NAME } from "./const";
import { TitleCardConfig, titleCardConfigStruct } from "./title-card-config";

const actions: UiAction[] = ["navigate", "url", "none"];
const actions: UiAction[] = ["navigate", "url", "call-service", "none"];
const TITLE_LABELS = ["title", "subtitle", "title_tap_action", "subtitle_tap_action"];

const computeSchema = memoizeOne((): HaFormSchema[] => [
Expand Down

0 comments on commit 8e60208

Please sign in to comment.