Skip to content

Commit

Permalink
Add climate graph automation
Browse files Browse the repository at this point in the history
  • Loading branch information
x-real-ip committed Mar 4, 2024
1 parent ff9ba37 commit 10e565b
Showing 1 changed file with 46 additions and 51 deletions.
97 changes: 46 additions & 51 deletions src/data/flows/automation_climate_graph_input_select_all.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,6 @@
"info": "",
"env": []
},
{
"id": "bb87dec7896e25a8",
"type": "ha-button",
"z": "1adcdebcdc8e5c39",
"name": "climate_graph_input_select_all_temperature",
"version": 0,
"debugenabled": false,
"outputs": 1,
"entityConfig": "4149472952a8d9c6",
"outputProperties": [
{
"property": "option",
"propertyType": "msg",
"value": "Temperature",
"valueType": "str"
}
],
"x": 190,
"y": 60,
"wires": [
[
"6c70289470244d20"
]
]
},
{
"id": "6c70289470244d20",
"type": "ha-get-entities",
Expand All @@ -52,7 +27,7 @@
"outputLocationType": "msg",
"outputLocation": "payload",
"outputResultsCount": 1,
"x": 450,
"x": 430,
"y": 60,
"wires": [
[
Expand All @@ -75,13 +50,13 @@
"entityId": [
"{{payload.entity_id}}"
],
"data": "{\"option\":\"{{option}}\"}",
"data": "{\"option\":\"{{data.new_state.attributes.friendly_name}}\"}",
"dataType": "json",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"x": 650,
"x": 630,
"y": 60,
"wires": [
[]
Expand All @@ -98,37 +73,57 @@
"wires": []
},
{
"id": "4149472952a8d9c6",
"type": "ha-entity-config",
"id": "a06f052e713de33d",
"type": "server-state-changed",
"z": "1adcdebcdc8e5c39",
"name": "",
"server": "4ba92433.2478cc",
"deviceConfig": "",
"name": "climate_graph_input_select_all_absolute_humidity",
"version": "6",
"entityType": "button",
"haConfig": [
{
"property": "name",
"value": "climate_graph_input_select_all_absolute_humidity"
},
{
"property": "icon",
"value": ""
},
"version": 5,
"outputs": 1,
"exposeAsEntityConfig": "",
"entityId": "input_button.climate_graph",
"entityIdType": "regex",
"outputInitially": false,
"stateType": "str",
"ifState": "",
"ifStateType": "str",
"ifStateOperator": "is",
"outputOnlyOnStateChange": true,
"for": "0",
"forType": "num",
"forUnits": "minutes",
"ignorePrevStateNull": false,
"ignorePrevStateUnknown": false,
"ignorePrevStateUnavailable": false,
"ignoreCurrentStateUnknown": false,
"ignoreCurrentStateUnavailable": false,
"outputProperties": [
{
"property": "entity_category",
"value": ""
"property": "payload",
"propertyType": "msg",
"value": "",
"valueType": "entityState"
},
{
"property": "entity_picture",
"value": ""
"property": "data",
"propertyType": "msg",
"value": "",
"valueType": "eventData"
},
{
"property": "device_class",
"value": ""
"property": "topic",
"propertyType": "msg",
"value": "",
"valueType": "triggerId"
}
],
"resend": false,
"debugEnabled": false
"x": 180,
"y": 60,
"wires": [
[
"6c70289470244d20"
]
]
},
{
"id": "4ba92433.2478cc",
Expand Down

0 comments on commit 10e565b

Please sign in to comment.