Triggers system is responsible for reacting on various events occured in the go-home system.
system: trigger introduced in v0.1
Trigger system is responsible for reacting on state-changes events. As an output, triggers can change state of any device or start other actions.
|name||yes||string||Name of the trigger. Used as prefix for entity ID|
|activeHrs||string in “Kitchen” format||If specified, this time range is used for limiting trigger actions. For example
|actions||at least one||List of trigger actions|
Describes which actions should be taken if trigger is in
Actions will be executed one by one.
|system||yes||string||Describes which system this action belongs to|
|entity||yes||string||Glob-based entity ID which should be called|
device– invokes device command.
notification– sends a notification.
Device command action
|command||yes||string||Command which should be called|
|args||List of arguments to pass to
system: trigger provider: cron name: cron-tr schedule: "*/1 * * * *" actions: - system: device entity: hue.light.c_lr_lamp command: "on"
Notification system action
|message||string||Message to send. If message is not specified, trigger will send its name instead|
system: trigger provider: cron name: cron-tr schedule: "*/1 * * * *" actions: - system: notification entity: my_place.* message: Minute has passed