refactor: update entity names in energy flow card configuration for JackeryHome

- Changed entity references to align with JackeryHome naming conventions, including solar power, grid consumption/production, battery charge/discharge, and home power.
This commit is contained in:
不求圣剑
2025-11-18 17:42:09 +08:00
parent 8624c65278
commit 27fd2e98a2

View File

@@ -1,24 +1,24 @@
type: custom:energy-flow-card-plus
entities:
solar:
entity: sensor.solar_power
entity: sensor.jackeryhome_solar_power
name: 太阳能
icon: mdi:solar-power
grid:
entity:
consumption: sensor.grid_import
production: sensor.grid_export
consumption: sensor.jackeryhome_grid_import
production: sensor.jackeryhome_grid_export
name: 电网
icon: mdi:transmission-tower
battery:
entity:
consumption: sensor.battery_charge
production: sensor.battery_discharge
state_of_charge: sensor.battery_soc
consumption: sensor.jackeryhome_battery_charge
production: sensor.jackeryhome_battery_discharge
state_of_charge: sensor.jackeryhome_battery_state_of_charge
name: 电池
icon: mdi:battery
home:
entity: sensor.home_power
entity: sensor.jackeryhome_home_power
name: 家庭用电
icon: mdi:home-lightning-bolt
display_zero_lines: