Skip to content

Commit e454f96

Browse files
authored
fix: rename future sensors (#25)
1 parent a0fe441 commit e454f96

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

custom_components/iec/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
"iot_class": "cloud_polling",
1111
"issue_tracker": "https://github.com/ludeeus/iec-custom-component/issues",
1212
"requirements": ["iec-api==0.2.6"],
13-
"version": "0.0.9"
13+
"version": "0.0.10"
1414
}

custom_components/iec/sensor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def get_previous_bill_kwh_price(invoice: Invoice) -> float:
4949
SMART_ELEC_SENSORS: tuple[IecEntityDescription, ...] = (
5050
IecEntityDescription(
5151
key="elec_forecasted_usage",
52-
name="Current bill electric forecasted usage",
52+
name="Next bill electric forecasted usage",
5353
device_class=SensorDeviceClass.ENERGY,
5454
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
5555
# state_class=SensorStateClass.TOTAL,
@@ -58,7 +58,7 @@ def get_previous_bill_kwh_price(invoice: Invoice) -> float:
5858
),
5959
IecEntityDescription(
6060
key="elec_forecasted_cost",
61-
name="Current bill electric forecasted cost",
61+
name="Next bill electric forecasted cost",
6262
device_class=SensorDeviceClass.MONETARY,
6363
native_unit_of_measurement=ILS,
6464
# state_class=SensorStateClass.TOTAL,

0 commit comments

Comments
 (0)