74 lines
3.4 KiB
JSON
74 lines
3.4 KiB
JSON
[
|
|
{
|
|
"id": "WattWise - Charge from Grid",
|
|
"automation": "- alias: WattWise - Charge from Grid\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - input_boolean.wattwise_battery_charging_from_grid\n from: null\n to: null\n conditions: []\n actions:\n - choose:\n - conditions:\n - condition: state\n entity_id: input_boolean.wattwise_battery_charging_from_grid\n state: 'on'\n sequence:\n - action: e3dc_rscp.manual_charge\n data:\n device_id: de70267c0b7b750fd9b9fc05c960e6af\n charge_amount: '{{ (states(''sensor.wattwise_battery_charge_from_grid'')\n | float * 1000) | int }}'\n - conditions:\n - condition: state\n entity_id: input_boolean.wattwise_battery_charging_from_grid\n state: 'off'\n sequence:\n - action: e3dc_rscp.manual_charge\n data:\n device_id: de70267c0b7b750fd9b9fc05c960e6af\n charge_amount: 0\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "Wattwise Battery Charging from Grid",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.wattwise_battery_charging_from_grid",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "Wattwise Battery Charge from Grid Sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.wattwise_battery_charge_from_grid",
|
|
"device_id": null
|
|
}
|
|
},
|
|
{
|
|
"name": "E3DC RSCP Device",
|
|
"room": null,
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "de70267c0b7b750fd9b9fc05c960e6af"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "WattWise - Discharge Control",
|
|
"automation": "- alias: WattWise - Discharge Control\n description: ''\n triggers:\n - trigger: state\n entity_id:\n - sensor.wattwise_maximum_discharge_possible\n from: null\n to: null\n conditions: []\n actions:\n - action: e3dc_rscp.set_power_limits\n data:\n device_id: de70267c0b7b750fd9b9fc05c960e6af\n max_discharge: '{{ (states(''sensor.wattwise_maximum_discharge_possible'') |\n float * 1000) | int }}'\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "E3DC RSCP Device",
|
|
"room": null,
|
|
"type": "device",
|
|
"id": {
|
|
"entity_id": null,
|
|
"device_id": "de70267c0b7b750fd9b9fc05c960e6af"
|
|
}
|
|
},
|
|
{
|
|
"name": "Wattwise Maximum Discharge Possible Sensor",
|
|
"room": null,
|
|
"type": "sensor",
|
|
"id": {
|
|
"entity_id": "sensor.wattwise_maximum_discharge_possible",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "Trigger WattWise Manual Optimization",
|
|
"automation": "- alias: Trigger WattWise Manual Optimization\n description: Fires MANUAL_BATTERY_OPTIMIZATION event when turned on\n triggers:\n - entity_id: input_boolean.wattwise_manual_optimization\n to: 'on'\n trigger: state\n conditions: []\n actions:\n - event: MANUAL_BATTERY_OPTIMIZATION\n - target:\n entity_id: input_boolean.wattwise_manual_optimization\n action: input_boolean.turn_off\n data: {}\n mode: single",
|
|
"config": [
|
|
{
|
|
"name": "Wattwise Manual Optimization",
|
|
"room": null,
|
|
"type": "input_boolean",
|
|
"id": {
|
|
"entity_id": "input_boolean.wattwise_manual_optimization",
|
|
"device_id": null
|
|
}
|
|
}
|
|
]
|
|
}
|
|
] |