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:
不求圣剑
2025-11-25 10:56:20 +08:00
parent 0bcfe5a32b
commit 80856f58dc
2 changed files with 4 additions and 7 deletions

View File

@@ -29,8 +29,8 @@ METER_SN_MAP = {
"battery_soc": "21548033",
"solar_energy": "16961537",
"home_energy": "16962561",
"grid_import_energy": "16969729",
"grid_export_energy": "16970753",
"grid_import_energy": "16962561",
"grid_export_energy": "16968705",
"battery_charge_energy": "16964609",
"battery_discharge_energy": "16965633",
"solar_power": "16932865",