Use POWER_WATT constant (#33984)
This commit is contained in:
1 parent
2ab79115d1
commit
f839ba00eb
14 files changed
+56
-35
No files matched your search
@@ -83,7 +83,12 @@ SENSOR_TYPES = {
|
||||
"mdi:solar-power",
|
||||
],
|
||||
"capacity": ["CAPACITY", "capacity", UNIT_PERCENTAGE, "mdi:solar-power"],
|
||||
"efficiency": ["EFFICIENCY", "efficiency", "% W/Wp", "mdi:solar-power"],
|
||||
"efficiency": [
|
||||
"EFFICIENCY",
|
||||
"efficiency",
|
||||
f"% {POWER_WATT}/{POWER_WATT}p",
|
||||
"mdi:solar-power",
|
||||
],
|
||||
"power_available": [
|
||||
"powerAVAILABLE",
|
||||
"power available",
|
||||
|
||||
Reference in new issue
Block a user