From 51743c2fa1457b91e54649d4a1b6bed4b2b67fed Mon Sep 17 00:00:00 2001 From: theautomation Date: Sun, 18 Feb 2024 11:19:10 +0100 Subject: [PATCH] Change backyard light to pct --- src/data/flows/scene_home_entering.json | 168 ++++++++++++------------ 1 file changed, 84 insertions(+), 84 deletions(-) diff --git a/src/data/flows/scene_home_entering.json b/src/data/flows/scene_home_entering.json index 0b819c5..44138f4 100644 --- a/src/data/flows/scene_home_entering.json +++ b/src/data/flows/scene_home_entering.json @@ -40,6 +40,89 @@ ] ] }, + { + "id": "52f21d3060c57706", + "type": "join", + "z": "c0da8379.b0dd3", + "g": "47af9932f18884cc", + "name": "", + "mode": "custom", + "build": "merged", + "property": "notify", + "propertyType": "msg", + "key": "topic", + "joiner": "\\n", + "joinerType": "str", + "accumulate": false, + "timeout": "", + "count": "3", + "reduceRight": false, + "reduceExp": "", + "reduceInit": "", + "reduceInitType": "", + "reduceFixup": "", + "x": 2230, + "y": 300, + "wires": [ + [ + "5e72b91e3ad4066d" + ] + ] + }, + { + "id": "5e72b91e3ad4066d", + "type": "link out", + "z": "c0da8379.b0dd3", + "g": "47af9932f18884cc", + "name": "link_out_notify_home_entering", + "mode": "link", + "links": [ + "8ed3b0974336e55b" + ], + "x": 2325, + "y": 300, + "wires": [] + }, + { + "id": "7063678cde99b775", + "type": "template", + "z": "c0da8379.b0dd3", + "g": "47af9932f18884cc", + "name": "title", + "field": "notify.title", + "fieldType": "msg", + "format": "handlebars", + "syntax": "mustache", + "template": "Verlichting", + "output": "str", + "x": 2070, + "y": 260, + "wires": [ + [ + "52f21d3060c57706" + ] + ] + }, + { + "id": "4d43c0c59596c396", + "type": "template", + "z": "c0da8379.b0dd3", + "g": "47af9932f18884cc", + "name": "icon", + "field": "notify.icon", + "fieldType": "msg", + "format": "handlebars", + "syntax": "mustache", + "template": "", + "output": "str", + "x": 2070, + "y": 340, + "wires": [ + [ + "52f21d3060c57706" + ] + ] + }, { "id": "9e995be6.7976b8", "type": "api-call-service", @@ -55,7 +138,7 @@ "entityId": [ "light.shellydimmer_backyard_string_l" ], - "data": "{\"brightness\":50}", + "data": "{\"brightness_pct\":25}", "dataType": "json", "mergeContext": "", "mustacheAltTags": false, @@ -1161,89 +1244,6 @@ "y": 40, "wires": [] }, - { - "id": "4d43c0c59596c396", - "type": "template", - "z": "c0da8379.b0dd3", - "g": "47af9932f18884cc", - "name": "icon", - "field": "notify.icon", - "fieldType": "msg", - "format": "handlebars", - "syntax": "mustache", - "template": "", - "output": "str", - "x": 2070, - "y": 340, - "wires": [ - [ - "52f21d3060c57706" - ] - ] - }, - { - "id": "7063678cde99b775", - "type": "template", - "z": "c0da8379.b0dd3", - "g": "47af9932f18884cc", - "name": "title", - "field": "notify.title", - "fieldType": "msg", - "format": "handlebars", - "syntax": "mustache", - "template": "Verlichting", - "output": "str", - "x": 2070, - "y": 260, - "wires": [ - [ - "52f21d3060c57706" - ] - ] - }, - { - "id": "5e72b91e3ad4066d", - "type": "link out", - "z": "c0da8379.b0dd3", - "g": "47af9932f18884cc", - "name": "link_out_notify_home_entering", - "mode": "link", - "links": [ - "8ed3b0974336e55b" - ], - "x": 2325, - "y": 300, - "wires": [] - }, - { - "id": "52f21d3060c57706", - "type": "join", - "z": "c0da8379.b0dd3", - "g": "47af9932f18884cc", - "name": "", - "mode": "custom", - "build": "merged", - "property": "notify", - "propertyType": "msg", - "key": "topic", - "joiner": "\\n", - "joinerType": "str", - "accumulate": false, - "timeout": "", - "count": "3", - "reduceRight": false, - "reduceExp": "", - "reduceInit": "", - "reduceInitType": "", - "reduceFixup": "", - "x": 2230, - "y": 300, - "wires": [ - [ - "5e72b91e3ad4066d" - ] - ] - }, { "id": "4ba92433.2478cc", "type": "server",