Skip to content

Commit

Permalink
technical debt
Browse files Browse the repository at this point in the history
  • Loading branch information
e154 committed Jan 2, 2024
1 parent af985d9 commit d5cd5e9
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/plugins/trigger_alexa/trigger_alexa_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ automationTriggerAlexa = (msg)->
// automation
// ------------------------------------------------
trigger := &m.NewTrigger{
Enabled: true,
Name: "alexa",
ScriptId: common.Int64(task3Script.Id),
PluginName: "alexa",
Expand Down
1 change: 1 addition & 0 deletions tests/plugins/trigger_empty/trigger_empty_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ func TestTriggerEmpty(t *testing.T) {
// automation
// ------------------------------------------------
trigger := &m.NewTrigger{
Enabled: true,
Name: "trigger1",
PluginName: "time",
Payload: m.Attributes{
Expand Down
1 change: 1 addition & 0 deletions tests/plugins/trigger_state/trigger_state_change_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ automationTriggerStateChanged = (msg)->
// automation
// ------------------------------------------------
trigger := &m.NewTrigger{
Enabled: true,
Name: "state_change",
EntityIds: []string{buttonEnt.Id.String()},
ScriptId: common.Int64(task1Script.Id),
Expand Down
1 change: 1 addition & 0 deletions tests/plugins/trigger_system/trigger_system_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ automationTriggerSystem = (msg)->
// automation
// ------------------------------------------------
trigger := &m.NewTrigger{
Enabled: true,
Name: "tr1",
ScriptId: common.Int64(task3Script.Id),
PluginName: "system",
Expand Down
1 change: 1 addition & 0 deletions tests/plugins/trigger_time/trigger_time2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ entityAction = (entityId, actionName)->
// automation
// ------------------------------------------------
trigger := &m.NewTrigger{
Enabled: true,
Name: "trigger1",
PluginName: "time",
Payload: m.Attributes{
Expand Down
1 change: 1 addition & 0 deletions tests/plugins/trigger_time/trigger_time_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ automationTriggerTime = (msg)->
// automation
// ------------------------------------------------
trigger := &m.NewTrigger{
Enabled: true,
Name: "trigger1",
ScriptId: common.Int64(task3Script.Id),
PluginName: "time",
Expand Down
2 changes: 2 additions & 0 deletions tests/plugins/zigbee2mqtt/zigbee2mqtt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ automationAction = (entityId)->
// automation
// ------------------------------------------------
trigger1 := &m.NewTrigger{
Enabled: true,
Name: "state_change",
EntityIds: []string{buttonEnt.Id.String()},
ScriptId: common.Int64(task1Script.Id),
Expand All @@ -241,6 +242,7 @@ automationAction = (entityId)->
So(err, ShouldBeNil)

trigger2 := &m.NewTrigger{
Enabled: true,
Name: "",
EntityIds: []string{buttonEnt.Id.String()},
ScriptId: common.Int64(task2Script.Id),
Expand Down

0 comments on commit d5cd5e9

Please sign in to comment.