Skip to content

Commit

Permalink
fix(sensor): Fixed kwh gas sensor device class
Browse files Browse the repository at this point in the history
This is to support it being added via energy dashboard
  • Loading branch information
BottlecapDave committed Mar 18, 2023
1 parent 1746da5 commit 6a25058
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def name(self):
@property
def device_class(self):
"""The type of sensor"""
return SensorDeviceClass.GAS
return SensorDeviceClass.ENERGY

@property
def state_class(self):
Expand Down

0 comments on commit 6a25058

Please sign in to comment.