diff --git a/custom_components/smart_irrigation/sensor.py b/custom_components/smart_irrigation/sensor.py index 10c08ebd..0a75fefb 100644 --- a/custom_components/smart_irrigation/sensor.py +++ b/custom_components/smart_irrigation/sensor.py @@ -417,7 +417,7 @@ def show_m2_or_sq_ft(self, value, show_unit=True): if self.coordinator.system_of_measurement == SETTING_METRIC: retval = f"{value}" if show_unit: - retval = retval + " {UNIT_OF_MEASUREMENT_M2}" + retval = retval + f" {UNIT_OF_MEASUREMENT_M2}" return retval else: retval = f"{round(value * M2_TO_SQ_FT_FACTOR,2)}"