From 502bc0e65248cb8260eb0e18d292b00ca7010efc Mon Sep 17 00:00:00 2001 From: theautomation Date: Tue, 16 Jan 2024 19:13:53 +0100 Subject: [PATCH] Shorten message --- src/data/flows/notification_knmi.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/flows/notification_knmi.json b/src/data/flows/notification_knmi.json index 63f239e..d745f25 100644 --- a/src/data/flows/notification_knmi.json +++ b/src/data/flows/notification_knmi.json @@ -155,7 +155,7 @@ "type": "function", "z": "b4aa7b8dbc1c80dc", "name": "shorten message", - "func": "msg.short_message = msg.data.new_state.attributes.Waarschuwing.substr(0, 408);\nreturn msg;", + "func": "msg.short_message = msg.data.new_state.attributes.Waarschuwing.substr(0, 400);\nreturn msg;", "outputs": 1, "timeout": 0, "noerr": 0,