-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added app trigger for entity state changes.
- Loading branch information
1 parent
3c2e935
commit 1045bf0
Showing
6 changed files
with
187 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
.homeycompose/flow/triggers/event_state_changed_triggered_filter.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"title": { | ||
"en": "Entity state has changed", | ||
"de": "Entity-Statue hat sich geändert", | ||
"nl": "Entiteitsstatus is gewijzigd" | ||
}, | ||
"titleFormatted":{ | ||
"en": "The state of entity [[entity]] has changed.", | ||
"de": "Der Status der Entität [[entity]] hat sich geändert.", | ||
"nl": "De status van entiteit [[entity]] is gewijzigd." | ||
}, | ||
"hint": { | ||
"en": "Triggers when the event 'state_changed' was triggered for the entity.", | ||
"de": "Wird ausgelöst, wenn das Ereignis 'state_changed' für die Entität ausgelöst wurde.", | ||
"nl": "Wordt geactiveerd wanneer het evenement 'state_changed' voor de entiteit is geactiveerd." | ||
}, | ||
"tokens": [ | ||
{ | ||
"name": "entity", | ||
"type": "string", | ||
"title": { | ||
"en": "Entity", | ||
"de": "Entität", | ||
"nl": "Entiteit" | ||
} | ||
}, | ||
{ | ||
"name": "state", | ||
"type": "string", | ||
"title": { | ||
"en": "Entity state", | ||
"de": "Entitätsstatus", | ||
"nl": "Entiteitsstatus" | ||
} | ||
} | ||
], | ||
"args": [ | ||
{ | ||
"name": "entity", | ||
"type": "text", | ||
"required": false, | ||
"title": { | ||
"en": "Entity", | ||
"de": "Entität", | ||
"nl": "Entiteit" | ||
}, | ||
"placeholder": { | ||
"en": "Entity", | ||
"de": "Eintität", | ||
"nl": "Entiteit" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters