Skip to content

Commit

Permalink
Fixing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
joshs85 committed Oct 23, 2024
1 parent 9027ba0 commit 7f534c9
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Build
on:
push:
branches:
- master
- mainline
pull_request:
branches:
- master
- mainline

jobs:
clippy:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
* Add ReadInput4 with EG4 18k generator data (#239, @pmccut)


# 0.14.0 - 23th October 2024

* Fixed bug with entity in HA. Changed KWh to kWh

# 0.13.0 - 27th October 2023

* **BREAKING CHANGE**: Simplify scheduler.timesync configuration to appease HA (#209)
Expand Down
4 changes: 4 additions & 0 deletions addon/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.14.0 - 28th October 2024

* Fixed bug with entity in HA. Changed KWh to kWh

# 0.13.0 - 27th October 2023

* **BREAKING CHANGE**: Simplify scheduler.timesync configuration to appease HA (#209)
Expand Down
2 changes: 1 addition & 1 deletion addon/config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: lxp-bridge
version: v0.13.0
version: v0.14.0
slug: lxp-bridge
description: Allows local communication with Luxpower inverters and bridges it to MQTT
arch:
Expand Down
2 changes: 1 addition & 1 deletion src/home_assistant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ impl Config {
let energy_storage = Entity {
device_class: Some("energy_storage"),
state_class: Some("measurement"),
unit_of_measurement: Some("KWh"),
unit_of_measurement: Some("kWh"),
..base.clone()
};

Expand Down

0 comments on commit 7f534c9

Please sign in to comment.