-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAllow Solar Export to Grid.yml
More file actions
39 lines (39 loc) · 1.13 KB
/
Allow Solar Export to Grid.yml
File metadata and controls
39 lines (39 loc) · 1.13 KB
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
alias: Allow Solar Export to Grid
description: "Allows export of solar energy to the grid when the battery is charged above 99%, grid export is profitable, and during daytime hours. Switches the plant EMS control mode and sends a notification."
triggers:
- trigger: time_pattern
minutes: /5
seconds: "30"
conditions:
- condition: numeric_state
entity_id:
- sensor.sigen_plant_battery_state_of_charge
above: 99
- condition: numeric_state
entity_id: sensor.earningsflexup
above: 0
- condition: time
after: "09:00:00"
before: "17:00:00"
- not:
- condition: state
entity_id: select.sigen_plant_remote_ems_control_mode
state: Maximum Self Consumption
actions:
- action: select.select_option
metadata: {}
data:
option: Maximum Self Consumption
target:
entity_id: select.sigen_plant_remote_ems_control_mode
- action: notify.mobile_app_iphone
metadata: {}
data:
message: Starting export to grid
- action: number.set_value
metadata: {}
data:
value: 4294967.295
target:
entity_id: number.sigen_plant_grid_export_limitation
mode: single