mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02:00
Fix incorrect power device class on energy sensors in Smappee (#54994)
This commit is contained in:
@@ -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
|
||||
],
|
||||
}
|
||||
|
Reference in New Issue
Block a user