Advertisement
Guest User

Untitled

a guest
Jan 5th, 2021
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.93 KB | None | 0 0
  1. [
  2. {
  3. "id": "6eb94cd1.eef2c4",
  4. "type": "api-call-service",
  5. "z": "75cade58.1ef5d",
  6. "name": "Valot 100% / 20min",
  7. "server": "59a59371.c0496c",
  8. "version": 1,
  9. "debugenabled": false,
  10. "service_domain": "scene",
  11. "service": "turn_on",
  12. "entityId": "scene.valot_100",
  13. "data": "{\"transition\":\"1200\"}",
  14. "dataType": "json",
  15. "mergecontext": "",
  16. "output_location": "",
  17. "output_location_type": "none",
  18. "mustacheAltTags": false,
  19. "x": 820,
  20. "y": 1780,
  21. "wires": [
  22. []
  23. ]
  24. },
  25. {
  26. "id": "6bbb7ed1.23e77",
  27. "type": "api-current-state",
  28. "z": "75cade58.1ef5d",
  29. "name": "Päällä?",
  30. "server": "59a59371.c0496c",
  31. "version": 1,
  32. "outputs": 2,
  33. "halt_if": "on",
  34. "halt_if_type": "str",
  35. "halt_if_compare": "is",
  36. "override_topic": false,
  37. "entity_id": "input_boolean.heratys_paalla",
  38. "state_type": "str",
  39. "state_location": "payload.alarmstatus",
  40. "override_payload": "msg",
  41. "entity_location": "data",
  42. "override_data": "msg",
  43. "blockInputOverrides": false,
  44. "x": 620,
  45. "y": 1760,
  46. "wires": [
  47. [
  48. "6eb94cd1.eef2c4"
  49. ],
  50. []
  51. ]
  52. },
  53. {
  54. "id": "b7377fc.e68e28",
  55. "type": "function",
  56. "z": "75cade58.1ef5d",
  57. "name": "set time",
  58. "func": "varAlarmTime = msg.payload;\nmsg.payload = {};\nmsg.payload.ontime = varAlarmTime\nmsg.payload.offtime = varAlarmTime\nmsg.payload.offoffset = 1\nreturn msg;",
  59. "outputs": 1,
  60. "noerr": 0,
  61. "initialize": "",
  62. "finalize": "",
  63. "x": 320,
  64. "y": 1780,
  65. "wires": [
  66. [
  67. "43695247.ff6ccc"
  68. ]
  69. ]
  70. },
  71. {
  72. "id": "88fd9a9.ee19868",
  73. "type": "trigger-state",
  74. "z": "75cade58.1ef5d",
  75. "name": "Herätysaika asetettu",
  76. "server": "59a59371.c0496c",
  77. "exposeToHomeAssistant": false,
  78. "haConfig": [
  79. {
  80. "property": "name",
  81. "value": ""
  82. },
  83. {
  84. "property": "icon",
  85. "value": ""
  86. }
  87. ],
  88. "entityid": "input_datetime.heratysvalon_aika",
  89. "entityidfiltertype": "exact",
  90. "debugenabled": false,
  91. "constraints": [],
  92. "outputs": 2,
  93. "customoutputs": [],
  94. "outputinitially": true,
  95. "state_type": "str",
  96. "x": 120,
  97. "y": 1780,
  98. "wires": [
  99. [
  100. "b7377fc.e68e28"
  101. ],
  102. []
  103. ]
  104. },
  105. {
  106. "id": "43695247.ff6ccc",
  107. "type": "schedex",
  108. "z": "75cade58.1ef5d",
  109. "name": "Ajastin",
  110. "passthroughunhandled": false,
  111. "suspended": false,
  112. "lat": "38.897517",
  113. "lon": "-77.036542",
  114. "ontime": "06:30",
  115. "ontopic": "",
  116. "onpayload": "on",
  117. "onoffset": 0,
  118. "onrandomoffset": 0,
  119. "offtime": "06:31",
  120. "offtopic": "",
  121. "offpayload": "off",
  122. "offoffset": "",
  123. "offrandomoffset": 0,
  124. "mon": true,
  125. "tue": true,
  126. "wed": true,
  127. "thu": true,
  128. "fri": true,
  129. "sat": true,
  130. "sun": true,
  131. "x": 470,
  132. "y": 1780,
  133. "wires": [
  134. [
  135. "6bbb7ed1.23e77"
  136. ]
  137. ]
  138. },
  139. {
  140. "id": "59a59371.c0496c",
  141. "type": "server",
  142. "name": "Home Assistant",
  143. "legacy": false,
  144. "addon": false,
  145. "rejectUnauthorizedCerts": false,
  146. "ha_boolean": "y|yes|true|on|home|open",
  147. "connectionDelay": true,
  148. "cacheJson": true
  149. }
  150. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement