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.
This commit is contained in:
@@ -3,18 +3,21 @@ entities:
|
||||
grid:
|
||||
entity:
|
||||
consumption: sensor.grid_import
|
||||
production: sensor.grid_import
|
||||
display_state: one_way
|
||||
production: sensor.grid_export
|
||||
display_state: two_way
|
||||
color_circle: true
|
||||
solar:
|
||||
entity: sensor.solar_power
|
||||
battery:
|
||||
entity:
|
||||
consumption: sensor.battery_charge
|
||||
production: sensor.battery_discharge
|
||||
consumption: sensor.battery_discharge
|
||||
production: sensor.battery_charge
|
||||
state_of_charge: sensor.battery_state_of_charge
|
||||
display_state: one_way
|
||||
display_state: two_way
|
||||
color_circle: true
|
||||
|
||||
home:
|
||||
color_icon: true
|
||||
watt_threshold: 10000
|
||||
|
||||
|
||||
watt_threshold: 10000
|
||||
|
||||
Reference in New Issue
Block a user