Skip to content

Commit

Permalink
Set Shelly transition time in light turn on calls #30
Browse files Browse the repository at this point in the history
  • Loading branch information
theautomation committed Feb 19, 2024
1 parent 128824a commit ffe72ef
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 52 deletions.
4 changes: 2 additions & 2 deletions src/data/flows/scene_dark_outside.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
"entityId": [
"light.shellydimmer_backyard_string_l"
],
"data": "{\"brightness_pct\":\"25\"}",
"data": "{\"brightness_pct\":\"25\",\"transition\":5000}",
"dataType": "json",
"mergeContext": "",
"mustacheAltTags": false,
Expand Down Expand Up @@ -372,7 +372,7 @@
"entityId": [
"light.shellydimmer_living_room"
],
"data": "",
"data": "{\"transition\":5000}",
"dataType": "json",
"mergeContext": "",
"mustacheAltTags": false,
Expand Down
98 changes: 49 additions & 49 deletions src/data/flows/scene_home_entering.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,48 +41,25 @@
]
},
{
"id": "52f21d3060c57706",
"type": "join",
"id": "4d43c0c59596c396",
"type": "template",
"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,
"name": "icon",
"field": "notify.icon",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "",
"output": "str",
"x": 2070,
"y": 340,
"wires": [
[
"5e72b91e3ad4066d"
"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": "7063678cde99b775",
"type": "template",
Expand All @@ -104,22 +81,45 @@
]
},
{
"id": "4d43c0c59596c396",
"type": "template",
"id": "5e72b91e3ad4066d",
"type": "link out",
"z": "c0da8379.b0dd3",
"g": "47af9932f18884cc",
"name": "icon",
"field": "notify.icon",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "",
"output": "str",
"x": 2070,
"y": 340,
"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": [
[
"52f21d3060c57706"
"5e72b91e3ad4066d"
]
]
},
Expand All @@ -138,7 +138,7 @@
"entityId": [
"light.shellydimmer_backyard_string_l"
],
"data": "{\"brightness_pct\":25}",
"data": "{\"brightness_pct\":25,\"transition\":5000}",
"dataType": "json",
"mergeContext": "",
"mustacheAltTags": false,
Expand Down Expand Up @@ -1103,7 +1103,7 @@
"entityId": [
"light.shellydimmer_living_room"
],
"data": "{\"brightness\":80}",
"data": "{\"brightness\":80,\"transition\":5000}",
"dataType": "json",
"mergeContext": "",
"mustacheAltTags": false,
Expand Down
2 changes: 1 addition & 1 deletion src/data/flows/scene_light_outside.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
"entityId": [
"light.shellydimmer_backyard_string_l"
],
"data": "",
"data": "{\"transition\":5000}",
"dataType": "json",
"mergeContext": "",
"mustacheAltTags": false,
Expand Down

0 comments on commit ffe72ef

Please sign in to comment.