from enum import Enum class UnitPower(str, Enum): """ The valid types of power units. """ # noqa: E501 """# British thermal units (BTU) per minute """ # noqa: E501 BTU_PER_MINUTE = 'btu_per_minute' """# Horsepower (hp) """ # noqa: E501 HORSEPOWER = 'horsepower' """# Kilowatts """ # noqa: E501 KILOWATTS = 'kilowatts' """# Metric horsepower (PS) """ # noqa: E501 METRIC_HORSEPOWER = 'metric_horsepower' """# Microwatts """ # noqa: E501 MICROWATTS = 'microwatts' """# Millwatts """ # noqa: E501 MILLIWATTS = 'milliwatts' """# Watts """ # noqa: E501 WATTS = 'watts' def __str__(self) -> str: return str(self.value)