Skip to content

Commit

Permalink
Add button to go to trash can for vacuum
Browse files Browse the repository at this point in the history
  • Loading branch information
x-real-ip committed Mar 4, 2024
1 parent 10e565b commit b037c6d
Showing 1 changed file with 84 additions and 2 deletions.
86 changes: 84 additions & 2 deletions src/data/flows/scene_vacuum_cleaner_goto_trash_can.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@
"info": "",
"env": []
},
{
"id": "d83a61d4c1fcbc34",
"type": "junction",
"z": "d75716f30ab50f51",
"x": 540,
"y": 160,
"wires": [
[
"d1271eec3942fa45"
]
]
},
{
"id": "0a557caa506ed5ba",
"type": "inject",
Expand Down Expand Up @@ -94,13 +106,13 @@
"entityId": [
"vacuum.roborock_s6_pure"
],
"data": "{\"x_coord\":29235,\"y_coord\":26134}",
"data": "{\"x_coord\":29235,\"y_coord\":26534}",
"dataType": "json",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"x": 640,
"x": 660,
"y": 100,
"wires": [
[]
Expand Down Expand Up @@ -137,6 +149,43 @@
[]
]
},
{
"id": "0d644c89b4079f86",
"type": "ha-button",
"z": "d75716f30ab50f51",
"name": "vacuum_goto_trash_can",
"version": 0,
"debugenabled": false,
"outputs": 1,
"entityConfig": "0171b37ae30b230d",
"outputProperties": [
{
"property": "payload",
"propertyType": "msg",
"value": "",
"valueType": "entityState"
},
{
"property": "topic",
"propertyType": "msg",
"value": "",
"valueType": "triggerId"
},
{
"property": "data",
"propertyType": "msg",
"value": "",
"valueType": "entity"
}
],
"x": 130,
"y": 160,
"wires": [
[
"d83a61d4c1fcbc34"
]
]
},
{
"id": "4ba92433.2478cc",
"type": "server",
Expand All @@ -159,5 +208,38 @@
"statusHourCycle": "h23",
"statusTimeFormat": "h:m",
"enableGlobalContextStore": true
},
{
"id": "0171b37ae30b230d",
"type": "ha-entity-config",
"server": "4ba92433.2478cc",
"deviceConfig": "",
"name": "vacuum_goto_trash_can",
"version": "6",
"entityType": "button",
"haConfig": [
{
"property": "name",
"value": "vacuum_goto_trash_can"
},
{
"property": "icon",
"value": ""
},
{
"property": "entity_picture",
"value": ""
},
{
"property": "entity_category",
"value": ""
},
{
"property": "device_class",
"value": ""
}
],
"resend": false,
"debugEnabled": false
}
]

0 comments on commit b037c6d

Please sign in to comment.