We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3185da commit bec6293Copy full SHA for bec6293
plugwise/constants.py
@@ -1,16 +1,16 @@
1
""" Plugwise Stick and Smile constants."""
2
3
-# Copied homeassistant.consts:
+# Copied homeassistant.consts
4
ATTR_NAME = "name"
5
ATTR_UNIT_OF_MEASUREMENT = "unit_of_measurement"
6
DEGREE = "°"
7
-ENERGY_KILO_WATT_HOUR = f"k{ENERGY_WATT_HOUR}"
8
-ENERGY_WATT_HOUR = f"{POWER_WATT}h"
+ENERGY_KILO_WATT_HOUR = "kWh"
+ENERGY_WATT_HOUR = "Wh"
9
PERCENTAGE = "%"
10
POWER_WATT = "W"
11
PRESSURE_BAR = "bar"
12
SIGNAL_STRENGTH_DECIBELS_MILLIWATT = "dBm"
13
-TEMP_CELSIUS = f"{DEGREE}C"
+TEMP_CELSIUS = "°C"
14
TIME_MILLISECONDS = "ms"
15
VOLUME_CUBIC_METERS = "m³"
16
0 commit comments