Skip to content

Commit f47f956

Browse files
authored
Fix temperature unit (#1560)
1 parent bbfddb8 commit f47f956

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

custom_components/ocpp/const.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@
134134
SensorDeviceClass.POWER: ha.UnitOfPower.KILO_WATT,
135135
SensorDeviceClass.REACTIVE_POWER: ha.UnitOfReactivePower.VOLT_AMPERE_REACTIVE,
136136
SensorDeviceClass.ENERGY: ha.UnitOfEnergy.KILO_WATT_HOUR,
137+
SensorDeviceClass.TEMPERATURE: ha.UnitOfTemperature.CELSIUS,
137138
}
138139

139140

0 commit comments

Comments
 (0)