refactor: update energy flow card configuration for improved clarity and functionality

- Reorganized entity references in the energy flow card configuration, introducing a clearer structure for grid, solar, and battery entities.
- Updated sensor mappings for grid consumption and production, battery charge/discharge, and state of charge.
- Removed outdated individual entity configurations to streamline the setup.
This commit is contained in:
不求圣剑
2025-11-25 10:09:52 +08:00
parent 32adebbd1f
commit 67371a7b8c
2 changed files with 22 additions and 38 deletions

View File

@@ -1,36 +1,20 @@
type: custom:power-flow-card-plus
entities:
home:
entity: sensor.home_power
color_icon: solar
fossil_fuel_percentage:
entity: sensor.battery_soc
icon: mdi:pine-tree
color_icon: true
grid:
entity:
consumption: sensor.grid_import
production: sensor.grid_import
display_state: one_way
color_circle: true
solar:
icon: mdi:solar-panel-large
entity: sensor.solar_power
battery:
name: Bateria
icon: mdi:bat
entity:
consumption: sensor.battery_charge_power
production: sensor.battery_discharge_power
individual:
- entity: sensor.grid_import_power
icon: mdi:transmission-tower-import
color: "#80b8ff"
name: Grid Import
color_icon: false
- entity: sensor.grid_export_power
icon: mdi:transmission-tower-export
color: "#ff8080"
name: Grid Export
color_icon: true
w_decimals: 0
kw_decimals: 2
min_flow_rate: 0.9
max_flow_rate: 6
watt_threshold: 10000
clickable_entities: true
title: Power Flow Card Plus
consumption: sensor.battery_charge
production: sensor.battery_discharge
state_of_charge: sensor.battery_state_of_charge
display_state: one_way
color_circle: true
home:
color_icon: true
watt_threshold: 10000