Skip to content

Commit

Permalink
Fix: Name in notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
danesparza committed Sep 13, 2017
1 parent 76fb47b commit 25df766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sensordata/collect_linux_arm.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ func sendPushoverNotification(c data.ConfigDB, runningTime int) error {
// Create a new client and push a message
pushClient := pushover.New(pushAPIkey.Value)
recipient := pushover.NewRecipient(pushTo.Value)
message := pushover.NewMessage(fmt.Sprintf("The dryer has finished running. It ran for about %v minutes", runningTime))
message := pushover.NewMessage(fmt.Sprintf("%v has finished running. It ran for about %v minutes", applianceName, runningTime))
message.Sound = "bike"
_, err := pushClient.SendMessage(message, recipient)
if err != nil {
Expand Down

0 comments on commit 25df766

Please sign in to comment.