Skip to content

Instantly share code, notes, and snippets.

@adonno
Last active September 14, 2019 06:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adonno/e6b99637f9acf0eebc36e8e0607fe4ed to your computer and use it in GitHub Desktop.
Save adonno/e6b99637f9acf0eebc36e8e0607fe4ed to your computer and use it in GitHub Desktop.
[
{
"id": "875e408b.39af2",
"type": "tab",
"label": "Flow 3",
"disabled": false,
"info": ""
},
{
"id": "9742586f.2cd018",
"type": "trigger-state",
"z": "875e408b.39af2",
"name": "Postbox_slit",
"server": "50c31fe9.dcffd",
"entityid": "binary_sensor.openclose_8",
"entityidfiltertype": "exact",
"debugenabled": false,
"constraints": [
{
"id": "r96l4iynxcnj",
"targetType": "this_entity",
"targetValue": "",
"propertyType": "current_state",
"propertyValue": "new_state.state",
"comparatorType": "is_not",
"comparatorValueDatatype": "str",
"comparatorValue": "off"
}
],
"constraintsmustmatch": "all",
"outputs": 2,
"customoutputs": [],
"outputinitially": false,
"state_type": "str",
"x": 150,
"y": 220,
"wires": [
[
"cc71e7b9.0f7cf8",
"a0718ff6.e3c98",
"136a9cff.c21a93"
],
[]
]
},
{
"id": "cc71e7b9.0f7cf8",
"type": "api-call-service",
"z": "875e408b.39af2",
"name": "Notify Iphone Adonno",
"server": "50c31fe9.dcffd",
"version": 1,
"service_domain": "notify",
"service": "ios_iphoneadonno",
"entityId": "",
"data": "{\"message\":\"You've got mail.\"}",
"dataType": "json",
"mergecontext": "",
"output_location": "",
"output_location_type": "none",
"mustacheAltTags": false,
"x": 500,
"y": 160,
"wires": [
[]
]
},
{
"id": "a0718ff6.e3c98",
"type": "api-call-service",
"z": "875e408b.39af2",
"name": "Notify Iphone Rina",
"server": "50c31fe9.dcffd",
"version": 1,
"service_domain": "notify",
"service": "ios_rinas_iphone",
"entityId": "",
"data": "{\"message\":\"You've got mail\"}",
"dataType": "json",
"mergecontext": "",
"output_location": "",
"output_location_type": "none",
"mustacheAltTags": false,
"x": 490,
"y": 220,
"wires": [
[]
]
},
{
"id": "136a9cff.c21a93",
"type": "api-call-service",
"z": "875e408b.39af2",
"name": "Add Persitent",
"server": "50c31fe9.dcffd",
"version": 1,
"service_domain": "persistent_notification",
"service": "create",
"entityId": "",
"data": "{\"message\":\"You've got mail.\",\"title\":\"Mailbox\",\"notification_id\":\"letter\"}",
"dataType": "json",
"mergecontext": "",
"output_location": "",
"output_location_type": "none",
"mustacheAltTags": false,
"x": 480,
"y": 280,
"wires": [
[]
]
},
{
"id": "50c31fe9.dcffd",
"type": "server",
"z": "",
"name": "Home Assistant"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment