50 lines
1.7 KiB
JSON
50 lines
1.7 KiB
JSON
[
|
|
{
|
|
"id": "Set Home Output Slider",
|
|
"automation": "- alias: Set Home Output Slider\n triggers:\n - trigger: state\n entity_id: sensor.zendure_solarflow_home_output_limit\n actions:\n - action: input_number.set_value\n target:\n entity_id: input_number.solarflow_input_output_limit\n data:\n value: '{{ trigger.to_state.state }}'",
|
|
"config": [
|
|
{
|
|
"name": "zendure solarflow home output limit",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.zendure_solarflow_home_output_limit",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "solarflow input output limit",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.solarflow_input_output_limit",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "Home Output Slider Updated",
|
|
"automation": "- alias: Home Output Slider Updated\n triggers:\n - trigger: state\n entity_id: input_number.solarflow_input_output_limit\n actions:\n - action: rest_command.solarflow_set_output_limit\n data:\n sn: WOB1NHMAMXXXXX3\n outputLimit: '{{trigger.to_state.state }}'",
|
|
"config": [
|
|
{
|
|
"name": "solarflow input output limit",
|
|
"room": null,
|
|
"type": "input_number",
|
|
"id": {
|
|
"entity_id": "input_number.solarflow_input_output_limit",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "solarflow set output limit",
|
|
"room": null,
|
|
"type": "rest_command",
|
|
"id": {
|
|
"entity_id": "rest_command.solarflow_set_output_limit",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
}
|
|
] |