Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Battery Entity Doubles value with Solar Generation and Battery Charge #148

Open
v15shm opened this issue Mar 15, 2023 · 0 comments
Open

Comments

@v15shm
Copy link

v15shm commented Mar 15, 2023

Want to report a potential bug with the custom:tesla-style-solar-power-card with the value of the
battery_entity: sensor.battery_power_system
This value is doubled in the case described below.
type: custom:tesla-style-solar-power-card
name: Realtime Electricity Flows
grid_to_house_entity: sensor.grid_to_home_now
grid_to_battery_entity: sensor.multiplus_power_to_battery
generation_to_grid_entity: sensor.solar_to_grid_now
generation_to_battery_entity: sensor.solar_to_battery_now
generation_to_house_entity: sensor.solar_to_home_now
battery_to_house_entity: sensor.multiplus_power_from_battery
battery_to_grid_entity: sensor.battery_to_grid_now
grid_entity: sensor.multiplus_grid_power
grid_extra_entity: sensor.utility_meter
house_entity: sensor.home_consumption_now
generation_entity: sensor.total_solar_power_now
battery_entity: sensor.battery_power_system
battery_extra_entity: sensor.battery_state_of_charge
appliance1_consumption_entity: sensor.multiplus_ac_loads
appliance1_icon: mdi:home
appliance2_consumption_entity: sensor.ac_dc_conversion_loss_now
appliance2_icon: mdi:trash-can
house_icon: mdi:home-import-outline
change_house_bubble_color_with_flow: 1
threshold_in_k: 1
show_gap: true
energy_flow_diagramm_line_factor: 2

When there is Solar Production and Discharge from Battery, the battery entity is correctly displayed. In the Figure 1, the battery entity has a negative value due to discharge and in this case, the value for Battery Entity is shown correctly.

Figure 1.
Below: Figure 2 shows the issue when there is Solar Production and the battery is being charged with Solar. In this case below, the battery entity shows 1.1kw which s exactly double of Battery Charge value from the Multiplus (showed in entity Battery Power as 572W)

Figure 2
Figure 3 and 4 show the same issue. When there is Solar Production and Battery Charge, the value of the Battery Entity is Doubled.

Figure 3

Figure 4

When the battery mode is again discharge, the value in the battery entity matches the Battery Power entity from the Inverter.

Figure 5

Tesla Power Card Bug Report.docx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant