Fix incorrect power device class on energy sensors in Smappee (#54994)
This commit is contained in:
parent
243c52e210
commit
afc95becd0
1 changed files with 2 additions and 2 deletions
|
@ -89,7 +89,7 @@ SOLAR_SENSORS = {
|
|||
None,
|
||||
ENERGY_WATT_HOUR,
|
||||
"solar_today",
|
||||
DEVICE_CLASS_POWER,
|
||||
DEVICE_CLASS_ENERGY,
|
||||
False, # cloud only
|
||||
],
|
||||
"solar_current_hour": [
|
||||
|
@ -97,7 +97,7 @@ SOLAR_SENSORS = {
|
|||
None,
|
||||
ENERGY_WATT_HOUR,
|
||||
"solar_current_hour",
|
||||
DEVICE_CLASS_POWER,
|
||||
DEVICE_CLASS_ENERGY,
|
||||
False, # cloud only
|
||||
],
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue