Skip to content

Commit

Permalink
Close #27 Setup notification channels
Browse files Browse the repository at this point in the history
  • Loading branch information
x-real-ip committed Feb 27, 2024
1 parent 536b984 commit 7676058
Show file tree
Hide file tree
Showing 27 changed files with 3,678 additions and 3,582 deletions.
368 changes: 184 additions & 184 deletions src/data/flows/automation_doorbell.json

Large diffs are not rendered by default.

152 changes: 76 additions & 76 deletions src/data/flows/automation_guest_mode.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,74 +46,60 @@
]
},
{
"id": "b2e6817cd694ba28",
"id": "3564790484706ae2",
"type": "template",
"z": "a7a34028d045deee",
"g": "022e7feb1e4ea3ae",
"name": "notification id",
"field": "notify.notification_id",
"name": "icon",
"field": "notify.icon",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "guest_mode",
"template": "",
"output": "str",
"x": 1310,
"y": 360,
"x": 1290,
"y": 320,
"wires": [
[
"a3cf07381c3dba65"
]
]
},
{
"id": "88a668a5509178e0",
"type": "change",
"id": "d5d46cfd65fffc12",
"type": "template",
"z": "a7a34028d045deee",
"g": "022e7feb1e4ea3ae",
"name": "action titles",
"rules": [
{
"t": "set",
"p": "notify.action_1_title",
"pt": "msg",
"to": "JA",
"tot": "str"
},
{
"t": "set",
"p": "notify.action_2_title",
"pt": "msg",
"to": "NEE",
"tot": "str"
},
{
"t": "set",
"p": "notify.action_1",
"pt": "msg",
"to": "GUEST_MODE_ON",
"tot": "str"
},
{
"t": "set",
"p": "notify.action_2",
"pt": "msg",
"to": "IGNORE",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1310,
"y": 280,
"name": "title",
"field": "notify.title",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "Gastmodus",
"output": "str",
"x": 1290,
"y": 240,
"wires": [
[
"a3cf07381c3dba65"
]
]
},
{
"id": "ba0bdc1db6e4e011",
"type": "link out",
"z": "a7a34028d045deee",
"g": "022e7feb1e4ea3ae",
"name": "link_out_notify_1",
"mode": "link",
"links": [
"c76d311bb4b6991b",
"d1753081ba6b4004"
],
"x": 1575,
"y": 280,
"wires": []
},
{
"id": "a3cf07381c3dba65",
"type": "join",
Expand Down Expand Up @@ -144,54 +130,68 @@
]
},
{
"id": "ba0bdc1db6e4e011",
"type": "link out",
"id": "88a668a5509178e0",
"type": "change",
"z": "a7a34028d045deee",
"g": "022e7feb1e4ea3ae",
"name": "link_out_notify_guest_mode",
"mode": "link",
"links": [
"c76d311bb4b6991b",
"d1753081ba6b4004"
"name": "action titles",
"rules": [
{
"t": "set",
"p": "notify.action_1_title",
"pt": "msg",
"to": "JA",
"tot": "str"
},
{
"t": "set",
"p": "notify.action_2_title",
"pt": "msg",
"to": "NEE",
"tot": "str"
},
{
"t": "set",
"p": "notify.action_1",
"pt": "msg",
"to": "GUEST_MODE_ON",
"tot": "str"
},
{
"t": "set",
"p": "notify.action_2",
"pt": "msg",
"to": "IGNORE",
"tot": "str"
}
],
"x": 1575,
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1310,
"y": 280,
"wires": []
},
{
"id": "d5d46cfd65fffc12",
"type": "template",
"z": "a7a34028d045deee",
"g": "022e7feb1e4ea3ae",
"name": "title",
"field": "notify.title",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "Gastmodus",
"output": "str",
"x": 1290,
"y": 240,
"wires": [
[
"a3cf07381c3dba65"
]
]
},
{
"id": "3564790484706ae2",
"id": "b2e6817cd694ba28",
"type": "template",
"z": "a7a34028d045deee",
"g": "022e7feb1e4ea3ae",
"name": "icon",
"field": "notify.icon",
"name": "notification id",
"field": "notify.notification_id",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "",
"template": "guest_mode",
"output": "str",
"x": 1290,
"y": 320,
"x": 1310,
"y": 360,
"wires": [
[
"a3cf07381c3dba65"
Expand Down
76 changes: 38 additions & 38 deletions src/data/flows/automation_infrared_panel.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,45 +46,59 @@
]
},
{
"id": "b334886da3d39e67",
"id": "8f7ef08c7aea9511",
"type": "template",
"z": "d7c35c04cc0c5b68",
"g": "36dc1da28ea112aa",
"name": "message",
"field": "notify.message",
"name": "icon",
"field": "notify.icon",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "Het Infrarood paneel in de souterrain stond nog aan en is nu automatisch uitgeschakeld",
"template": "",
"output": "str",
"x": 1320,
"y": 180,
"x": 1310,
"y": 100,
"wires": [
[
"98c964aa61c96938"
]
]
},
{
"id": "87b3630fa6681255",
"id": "51bb0a67f9282d5f",
"type": "template",
"z": "d7c35c04cc0c5b68",
"g": "36dc1da28ea112aa",
"name": "notification id",
"field": "notify.notification_id",
"name": "title",
"field": "notify.title",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "infrared_panel",
"template": "Infrarood paneel",
"output": "str",
"x": 1330,
"y": 140,
"x": 1310,
"y": 60,
"wires": [
[
"98c964aa61c96938"
]
]
},
{
"id": "dfe89d053727bf74",
"type": "link out",
"z": "d7c35c04cc0c5b68",
"g": "36dc1da28ea112aa",
"name": "link_out_notify_1",
"mode": "link",
"links": [
"8ed3b0974336e55b"
],
"x": 1605,
"y": 120,
"wires": []
},
{
"id": "98c964aa61c96938",
"type": "join",
Expand Down Expand Up @@ -115,53 +129,39 @@
]
},
{
"id": "dfe89d053727bf74",
"type": "link out",
"z": "d7c35c04cc0c5b68",
"g": "36dc1da28ea112aa",
"name": "link_out_notify_infrared_panel",
"mode": "link",
"links": [
"8ed3b0974336e55b"
],
"x": 1605,
"y": 120,
"wires": []
},
{
"id": "51bb0a67f9282d5f",
"id": "87b3630fa6681255",
"type": "template",
"z": "d7c35c04cc0c5b68",
"g": "36dc1da28ea112aa",
"name": "title",
"field": "notify.title",
"name": "notification id",
"field": "notify.notification_id",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "Infrarood paneel",
"template": "infrared_panel",
"output": "str",
"x": 1310,
"y": 60,
"x": 1330,
"y": 140,
"wires": [
[
"98c964aa61c96938"
]
]
},
{
"id": "8f7ef08c7aea9511",
"id": "b334886da3d39e67",
"type": "template",
"z": "d7c35c04cc0c5b68",
"g": "36dc1da28ea112aa",
"name": "icon",
"field": "notify.icon",
"name": "message",
"field": "notify.message",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "",
"template": "Het Infrarood paneel in de souterrain stond nog aan en is nu automatisch uitgeschakeld",
"output": "str",
"x": 1310,
"y": 100,
"x": 1320,
"y": 180,
"wires": [
[
"98c964aa61c96938"
Expand Down
Loading

0 comments on commit 7676058

Please sign in to comment.