-
Notifications
You must be signed in to change notification settings - Fork 0
/
const.py
31 lines (29 loc) · 1.63 KB
/
const.py
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
IS_CONTAINER=1
VERSION="v1.0.17"
SLEEP_INTERVAL=60
ENTITIES = {
"grid-tied_active_power": {"type": "energy", "unit": "kWh"},
"grid-tied_reactive_power": {"type": "power", "unit": "kW"},
"load_power": {"type": "power", "unit": "kW"},
"active_power": {"type": "power", "unit": "kW"},
"reactive_power": {"type": "power", "unit": "kW"},
"todays_power_supply_from_grid": {"type": "energy", "unit": "kWh"},
"current_day_supply_from_grid": {"type": "energy", "unit": "kWh"},
"current_day_feed-in_to_grid": {"type": "energy", "unit": "kWh"},
"current_day_consumption": {"type": "energy", "unit": "kWh"},
"total_power_supply_from_grid": {"type": "energy", "unit": "kWh"},
"total_supply_from_grid": {"type": "energy", "unit": "kWh", "attribute": "total_increasing"},
"total_feed-in_to_grid": {"type": "energy", "unit": "kWh", "attribute": "total_increasing"},
"total_power_consumption": {"type": "energy", "unit": "kWh"},
"pv_output_power": {"type": "power", "unit": "kW"},
"battery_charge_discharge_power": {"type": "power", "unit": "kW"},
"reactive_pv_power": {"type": "power", "unit": "kW"},
"reactive_ess_power": {"type": "power", "unit": "kW"},
"soc": {"type": "battery", "unit": "%"},
"current-day_charge_capacity": {"type": "energy", "unit": "kWh"},
"current-day_discharge_capacity": {"type": "energy", "unit": "kWh"},
"total_charge": {"type": "energy", "unit": "kWh"},
"total_discharge": {"type": "energy", "unit": "kWh"},
"rated_ess_power": {"type": "power", "unit": "kW"}
}
#sensor.huawei_smart_logger_for_total_supply_from_grid_huawei_smart_logger_total_supply_from_grid