Skip to content

Commit

Permalink
Add boilerPowerKW sensor #50
Browse files Browse the repository at this point in the history
  • Loading branch information
jontofront committed Jan 8, 2024
1 parent 8d2bf71 commit b7b916e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions custom_components/econet300/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,13 @@ class EconetSensorEntityDescription(SensorEntityDescription):
suggested_display_precision=REG_PARAM_PRECICION["boilerPower"],
process_val=lambda x: x,
),
EconetSensorEntityDescription(
key="boilerPowerKW",
name="Boiler output in kW",
state_class=SensorStateClass.MEASUREMENT,
device_class=SensorDeviceClass.POWER,
process_val=lambda x: x,
),
EconetSensorEntityDescription(
key="fuelLevel",
translation_key="fuel_level",
Expand Down

0 comments on commit b7b916e

Please sign in to comment.