Fixed the current Google versions of the briefings
This commit is contained in:
90
flows.json
90
flows.json
@ -746,9 +746,7 @@
|
|||||||
"1ad455bccec8ab46"
|
"1ad455bccec8ab46"
|
||||||
],
|
],
|
||||||
"x": 14,
|
"x": 14,
|
||||||
"y": 699,
|
"y": 699
|
||||||
"w": 1192,
|
|
||||||
"h": 362
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "e065b1ed4938b477",
|
"id": "e065b1ed4938b477",
|
||||||
@ -829,9 +827,7 @@
|
|||||||
"783cfb381b70afc5"
|
"783cfb381b70afc5"
|
||||||
],
|
],
|
||||||
"x": 14,
|
"x": 14,
|
||||||
"y": 59,
|
"y": 59
|
||||||
"w": 2812,
|
|
||||||
"h": 622
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "5c50443a84910fb7",
|
"id": "5c50443a84910fb7",
|
||||||
@ -17932,35 +17928,10 @@
|
|||||||
"y": 400,
|
"y": 400,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
"eb4220bac4e72e88"
|
"96905a317852d84e"
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "eb4220bac4e72e88",
|
|
||||||
"type": "api-call-service",
|
|
||||||
"z": "75e98103856848a6",
|
|
||||||
"name": "Speech Engine",
|
|
||||||
"server": "9e87348d.9c1c48",
|
|
||||||
"version": 5,
|
|
||||||
"debugenabled": false,
|
|
||||||
"domain": "script",
|
|
||||||
"service": "speech_engine",
|
|
||||||
"areaId": [],
|
|
||||||
"deviceId": [],
|
|
||||||
"entityId": [],
|
|
||||||
"data": "{\t \"who\":\"kallen_bedroom\",\t \"message\":\"!include ../templates/speech/daily_briefing.yaml\"\t}",
|
|
||||||
"dataType": "jsonata",
|
|
||||||
"mergeContext": "",
|
|
||||||
"mustacheAltTags": false,
|
|
||||||
"outputProperties": [],
|
|
||||||
"queue": "none",
|
|
||||||
"x": 480,
|
|
||||||
"y": 400,
|
|
||||||
"wires": [
|
|
||||||
[]
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "6059344e8c26ac8c",
|
"id": "6059344e8c26ac8c",
|
||||||
"type": "ha-button",
|
"type": "ha-button",
|
||||||
@ -17978,9 +17949,9 @@
|
|||||||
"valueType": "date"
|
"valueType": "date"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"property": "topic",
|
"property": "who",
|
||||||
"propertyType": "msg",
|
"propertyType": "msg",
|
||||||
"value": "Kallen Bedroom",
|
"value": "kallen_bedroom",
|
||||||
"valueType": "str"
|
"valueType": "str"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@ -17988,10 +17959,35 @@
|
|||||||
"y": 460,
|
"y": 460,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
"96905a317852d84e"
|
"062135211ea05aee"
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "062135211ea05aee",
|
||||||
|
"type": "api-call-service",
|
||||||
|
"z": "75e98103856848a6",
|
||||||
|
"name": "Script",
|
||||||
|
"server": "9e87348d.9c1c48",
|
||||||
|
"version": 5,
|
||||||
|
"debugenabled": false,
|
||||||
|
"domain": "script",
|
||||||
|
"service": "kallen_school_status",
|
||||||
|
"areaId": [],
|
||||||
|
"deviceId": [],
|
||||||
|
"entityId": [],
|
||||||
|
"data": "{\t \"who\": msg.who\t}",
|
||||||
|
"dataType": "jsonata",
|
||||||
|
"mergeContext": "",
|
||||||
|
"mustacheAltTags": false,
|
||||||
|
"outputProperties": [],
|
||||||
|
"queue": "none",
|
||||||
|
"x": 490,
|
||||||
|
"y": 460,
|
||||||
|
"wires": [
|
||||||
|
[]
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "dc94d479f37be046",
|
"id": "dc94d479f37be046",
|
||||||
"type": "api-call-service",
|
"type": "api-call-service",
|
||||||
@ -18011,8 +18007,8 @@
|
|||||||
"mustacheAltTags": false,
|
"mustacheAltTags": false,
|
||||||
"outputProperties": [],
|
"outputProperties": [],
|
||||||
"queue": "none",
|
"queue": "none",
|
||||||
"x": 1240,
|
"x": 1200,
|
||||||
"y": 460,
|
"y": 400,
|
||||||
"wires": [
|
"wires": [
|
||||||
[]
|
[]
|
||||||
]
|
]
|
||||||
@ -18022,15 +18018,15 @@
|
|||||||
"type": "file in",
|
"type": "file in",
|
||||||
"z": "75e98103856848a6",
|
"z": "75e98103856848a6",
|
||||||
"name": "Read File",
|
"name": "Read File",
|
||||||
"filename": "/config/templates/speech/kallen_school_status.yaml",
|
"filename": "/config/templates/speech/daily_briefing.yaml",
|
||||||
"filenameType": "str",
|
"filenameType": "str",
|
||||||
"format": "utf8",
|
"format": "utf8",
|
||||||
"chunk": false,
|
"chunk": false,
|
||||||
"sendError": false,
|
"sendError": false,
|
||||||
"encoding": "none",
|
"encoding": "none",
|
||||||
"allProps": false,
|
"allProps": false,
|
||||||
"x": 500,
|
"x": 460,
|
||||||
"y": 460,
|
"y": 400,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
"293cc3018a39af5d"
|
"293cc3018a39af5d"
|
||||||
@ -18056,8 +18052,8 @@
|
|||||||
"from": "",
|
"from": "",
|
||||||
"to": "",
|
"to": "",
|
||||||
"reg": false,
|
"reg": false,
|
||||||
"x": 690,
|
"x": 650,
|
||||||
"y": 460,
|
"y": 400,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
"0b5a8b6754e8ab37"
|
"0b5a8b6754e8ab37"
|
||||||
@ -18076,8 +18072,8 @@
|
|||||||
"resultsLocationType": "msg",
|
"resultsLocationType": "msg",
|
||||||
"templateLocation": "template",
|
"templateLocation": "template",
|
||||||
"templateLocationType": "msg",
|
"templateLocationType": "msg",
|
||||||
"x": 880,
|
"x": 840,
|
||||||
"y": 460,
|
"y": 400,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
"c1e3cffdafae7507"
|
"c1e3cffdafae7507"
|
||||||
@ -18089,14 +18085,14 @@
|
|||||||
"type": "function",
|
"type": "function",
|
||||||
"z": "75e98103856848a6",
|
"z": "75e98103856848a6",
|
||||||
"name": "Formatting",
|
"name": "Formatting",
|
||||||
"func": "var str = msg.payload\nstr = str.replaceAll(\"<p>\", \" \")\nstr = str.replaceAll(\"</p>\", \" \")\nstr = str.replaceAll(\">\", \" \")\n\nmsg.payload = str\n\nreturn msg;",
|
"func": "var str = msg.payload\nstr = str.replaceAll(\"<p>\", \" \")\nstr = str.replaceAll(\"</p>\", \" \")\nstr = str.replaceAll(\">\", \" \")\nstr = str.replaceAll(\"<s>\", \" \")\nstr = str.replaceAll(\"</s>\", \" \")\nstr = str.replaceAll(\"<s\", \" \")\nstr = str.replaceAll(\"</s\", \" \")\n\nmsg.payload = str\n\nreturn msg;",
|
||||||
"outputs": 1,
|
"outputs": 1,
|
||||||
"noerr": 0,
|
"noerr": 0,
|
||||||
"initialize": "",
|
"initialize": "",
|
||||||
"finalize": "",
|
"finalize": "",
|
||||||
"libs": [],
|
"libs": [],
|
||||||
"x": 1050,
|
"x": 1010,
|
||||||
"y": 460,
|
"y": 400,
|
||||||
"wires": [
|
"wires": [
|
||||||
[
|
[
|
||||||
"dc94d479f37be046"
|
"dc94d479f37be046"
|
||||||
|
Reference in New Issue
Block a user