Skip to content

Commit bec6293

Browse files
committed
Don't use f-stings
1 parent c3185da commit bec6293

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plugwise/constants.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
""" Plugwise Stick and Smile constants."""
22

3-
# Copied homeassistant.consts:
3+
# Copied homeassistant.consts
44
ATTR_NAME = "name"
55
ATTR_UNIT_OF_MEASUREMENT = "unit_of_measurement"
66
DEGREE = "°"
7-
ENERGY_KILO_WATT_HOUR = f"k{ENERGY_WATT_HOUR}"
8-
ENERGY_WATT_HOUR = f"{POWER_WATT}h"
7+
ENERGY_KILO_WATT_HOUR = "kWh"
8+
ENERGY_WATT_HOUR = "Wh"
99
PERCENTAGE = "%"
1010
POWER_WATT = "W"
1111
PRESSURE_BAR = "bar"
1212
SIGNAL_STRENGTH_DECIBELS_MILLIWATT = "dBm"
13-
TEMP_CELSIUS = f"{DEGREE}C"
13+
TEMP_CELSIUS = C"
1414
TIME_MILLISECONDS = "ms"
1515
VOLUME_CUBIC_METERS = "m³"
1616

0 commit comments

Comments
 (0)