From 94ed39911238006fb0e5928bb26908b8ca9c55df Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 24 Dec 2024 15:34:21 +0000 Subject: [PATCH] chore(lint): [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- utils/measure/measure/powermeter/kasa.py | 2 +- utils/measure/measure/powermeter/mystrom.py | 2 +- utils/measure/measure/powermeter/tasmota.py | 2 +- utils/measure/measure/powermeter/tuya.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/measure/measure/powermeter/kasa.py b/utils/measure/measure/powermeter/kasa.py index b8ef573d32..f46054b1ab 100644 --- a/utils/measure/measure/powermeter/kasa.py +++ b/utils/measure/measure/powermeter/kasa.py @@ -15,7 +15,7 @@ def __init__(self, device_ip: str) -> None: self._smartplug = SmartPlug(device_ip) def get_power(self, include_voltage: bool = False) -> PowerMeasurementResult: - """Get a new power reading from the Kasa device. Optionally include voltage (FIXME: not yet implemented).""" # noqa: FIX001 + """Get a new power reading from the Kasa device. Optionally include voltage (FIXME: not yet implemented).""" if include_voltage: # FIXME: Not yet implemented raise UnsupportedFeatureError("Voltage measurement is not yet implemented for Kasa devices.") diff --git a/utils/measure/measure/powermeter/mystrom.py b/utils/measure/measure/powermeter/mystrom.py index ee1b87efb8..63b1374f2d 100644 --- a/utils/measure/measure/powermeter/mystrom.py +++ b/utils/measure/measure/powermeter/mystrom.py @@ -14,7 +14,7 @@ def __init__(self, device_ip: str) -> None: self._device_ip = device_ip def get_power(self, include_voltage: bool = False) -> PowerMeasurementResult: - """Get a new power reading from the MyStrom device. Optionally include voltage (FIXME: not yet implemented).""" # noqa: FIX001 + """Get a new power reading from the MyStrom device. Optionally include voltage (FIXME: not yet implemented).""" if include_voltage: # FIXME: Not yet implemented raise UnsupportedFeatureError("Voltage measurement is not yet implemented for MyStrom devices.") diff --git a/utils/measure/measure/powermeter/tasmota.py b/utils/measure/measure/powermeter/tasmota.py index 7863222da8..1eca46a9f3 100644 --- a/utils/measure/measure/powermeter/tasmota.py +++ b/utils/measure/measure/powermeter/tasmota.py @@ -14,7 +14,7 @@ def __init__(self, device_ip: str) -> None: self._device_ip = device_ip def get_power(self, include_voltage: bool = False) -> PowerMeasurementResult: - """Get a new power reading from the Tasmota device. Optionally include voltage (FIXME: not yet implemented).""" # noqa: FIX001 + """Get a new power reading from the Tasmota device. Optionally include voltage (FIXME: not yet implemented).""" if include_voltage: # FIXME: Not yet implemented raise UnsupportedFeatureError("Voltage measurement is not yet implemented for Tasmota devices.") diff --git a/utils/measure/measure/powermeter/tuya.py b/utils/measure/measure/powermeter/tuya.py index e48a767e83..923bcfd80b 100644 --- a/utils/measure/measure/powermeter/tuya.py +++ b/utils/measure/measure/powermeter/tuya.py @@ -25,7 +25,7 @@ def __init__( self._device_version = device_version def get_power(self, include_voltage: bool = False) -> PowerMeasurementResult: - """Get a new power reading from the Tuya device. Optionally include voltage (FIXME: not yet implemented).""" # noqa: FIX001 + """Get a new power reading from the Tuya device. Optionally include voltage (FIXME: not yet implemented).""" if include_voltage: # FIXME: Not yet implemented raise UnsupportedFeatureError("Voltage measurement is not yet implemented for Tuya devices.")