Skip to content

Commit

Permalink
Fix persistent notification trigger schema (#3234)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Oct 9, 2024
1 parent 96000a2 commit 366e55a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/language-service/src/schemas/integrations/triggers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ type EventType =
| "zha_event";

type AllowedMethods = "POST" | "PUT" | "GET" | "HEAD";
type PersistentNotificationUpdateType = "added" | "removed";
type PersistentNotificationUpdateType = "added" | "updated" | "removed";

interface CalendarTrigger {
/**
Expand Down Expand Up @@ -553,6 +553,13 @@ interface PersistentNotificationTrigger {
*/
enabled?: boolean;

/**
* An personal identifier for this trigger, that is passed into the trigger
* variables when the automation triggers using this trigger.
* https://www.home-assistant.io/docs/automation/trigger/#persistent-notification-trigger
*/
id?: string;

/**
* Define the type of persistent notification to trigger on.
* https://www.home-assistant.io/docs/automation/trigger/#persistent-notification-trigger
Expand Down

0 comments on commit 366e55a

Please sign in to comment.