-
Notifications
You must be signed in to change notification settings - Fork 0
/
force_export.yaml
41 lines (41 loc) · 1.17 KB
/
force_export.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
alias: Powerwall Mode Force Export
sequence:
- service: number.set_value
data:
value: "0"
target:
entity_id: number.powerwall_cloud_backup_reserve
alias: Set reserve value to 0%
- service: select.select_option
data:
option: Time-Based Control
target:
entity_id: select.powerwall_cloud_operation_mode
alias: Set mode to 'Time-based control'
- service: select.select_option
data:
option: "No"
target:
entity_id: select.powerwall_cloud_grid_charging
alias: Disable grid charging
- service: select.select_option
data:
option: Everything
target:
entity_id: select.powerwall_cloud_energy_exports
alias: Enable exporting to grid
- if:
- condition: not
conditions:
- condition: state
entity_id: input_select.powerwall_battery_custom_modes
state: Force Export
then:
- service: input_select.select_option
data:
option: Force Export
target:
entity_id: input_select.powerwall_battery_custom_modes
alias: "Ensure powerwall custom mode selector is correctly set"
mode: single
icon: mdi:battery-minus-outline