Files
homeassistant-jackery/energy_flow_card_config.yaml
不求圣剑 1d50d5a7b0 refactor: update energy flow card configuration and sensor logic for improved accuracy
- Modified the energy flow card configuration to reflect correct sensor mappings for grid and battery entities, changing production and consumption references.
- Enhanced the JackeryHome sensor logic to ensure accurate power readings for battery charge and discharge, correcting the handling of meter values.
- Updated display states for better representation of energy flow direction.
2025-11-25 10:24:04 +08:00

24 lines
497 B
YAML

type: custom:power-flow-card-plus
entities:
grid:
entity:
consumption: sensor.grid_import
production: sensor.grid_export
display_state: two_way
color_circle: true
solar:
entity: sensor.solar_power
battery:
entity:
consumption: sensor.battery_discharge
production: sensor.battery_charge
state_of_charge: sensor.battery_state_of_charge
display_state: two_way
color_circle: true
home:
color_icon: true
watt_threshold: 10000