mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 04:07:08 +00:00
Fix incorrect power device class on energy sensors in Smappee (#54994)
This commit is contained in:
parent
243c52e210
commit
afc95becd0
@ -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…
x
Reference in New Issue
Block a user