Skip to content

Commit

Permalink
Update configuration.yaml
Browse files Browse the repository at this point in the history
Switching the direction of in/out for systemIO_power to match battery_power
  • Loading branch information
MartinJSa committed Nov 21, 2022
1 parent 965cd7d commit 456cf82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Home Assistant example/configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ mqtt:
state_class: measurement
value_template: >
{% if value_json.systemIO_power > (65535 / 2) %}
{{ -(65535 - value_json.systemIO_power) * 10 }}
{{ (65535 - value_json.systemIO_power) * 10 }}
{% else %}
{{ (value_json.systemIO_power) * 10 }}
{{ -(value_json.systemIO_power) * 10 }}
{% endif %}
- name: "inverter_battery_discharge"
Expand Down

0 comments on commit 456cf82

Please sign in to comment.