refactor: correct battery consumption and production mappings in energy flow card configuration
- Swapped the consumption and production sensor references for the battery entity in the energy flow card configuration to ensure accurate energy flow representation. - Updated grid import and export energy serial numbers in the JackeryHome sensor mappings for consistency and improved accuracy.
This commit is contained in:
@@ -29,8 +29,8 @@ METER_SN_MAP = {
|
|||||||
"battery_soc": "21548033",
|
"battery_soc": "21548033",
|
||||||
"solar_energy": "16961537",
|
"solar_energy": "16961537",
|
||||||
"home_energy": "16962561",
|
"home_energy": "16962561",
|
||||||
"grid_import_energy": "16969729",
|
"grid_import_energy": "16962561",
|
||||||
"grid_export_energy": "16970753",
|
"grid_export_energy": "16968705",
|
||||||
"battery_charge_energy": "16964609",
|
"battery_charge_energy": "16964609",
|
||||||
"battery_discharge_energy": "16965633",
|
"battery_discharge_energy": "16965633",
|
||||||
"solar_power": "16932865",
|
"solar_power": "16932865",
|
||||||
|
|||||||
@@ -10,14 +10,11 @@ entities:
|
|||||||
entity: sensor.solar_power
|
entity: sensor.solar_power
|
||||||
battery:
|
battery:
|
||||||
entity:
|
entity:
|
||||||
consumption: sensor.battery_discharge
|
consumption: sensor.battery_charge
|
||||||
production: sensor.battery_charge
|
production: sensor.battery_discharge
|
||||||
state_of_charge: sensor.battery_state_of_charge
|
state_of_charge: sensor.battery_state_of_charge
|
||||||
display_state: two_way
|
display_state: two_way
|
||||||
color_circle: true
|
color_circle: true
|
||||||
|
|
||||||
home:
|
home:
|
||||||
color_icon: true
|
color_icon: true
|
||||||
|
|
||||||
|
|
||||||
watt_threshold: 10000
|
watt_threshold: 10000
|
||||||
|
|||||||
Reference in New Issue
Block a user