solar: Update message

This commit is contained in:
Sangeeth Sudheer 2025-04-12 18:17:27 +05:30
parent 9ed6c8cd99
commit 9c6d18b59b
Signed by: x
GPG Key ID: F6D06ECE734C57D1

View File

@ -61,10 +61,10 @@ func (this *Solar) SendDailyReport() {
var todayFormatted = time.Now().Format("Monday, 2 Jan 2006") var todayFormatted = time.Now().Format("Monday, 2 Jan 2006")
message := fmt.Sprintf( message := fmt.Sprintf(
"*🔆 Solar Production Report, %s*\n\n"+ "*🔆 Solar Production Report %s*\n\n"+
summary+ summary+
"\n\n"+ "\n\n"+
"Today: %.2f kWh\n"+ "*Today: %.2f kWh*\n"+
"Total: %.2f kWh\n\n"+ "Total: %.2f kWh\n\n"+
"`DO NOT CLICK: %d`", "`DO NOT CLICK: %d`",
todayFormatted, todayFormatted,