Skip to content

Commit

Permalink
chore(lint): [pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 19, 2024
1 parent 26a22d4 commit 4ec7baa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion utils/measure/measure/powermeter/hass.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def get_voltage_question(self, voltage_sensor_list: list[str]) -> str | None:
name=QUESTION_VOLTAGEMETER_ENTITY_ID,
message="Select the voltage sensor",
choices=voltage_sensor_list,
)
),
]

def get_questions(self) -> list[inquirer.questions.Question]:
Expand Down
3 changes: 1 addition & 2 deletions utils/measure/measure/util/measure_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from measure.powermeter.errors import (
OutdatedMeasurementError,
PowerMeterError,
UnsupportedFeatureError,
ZeroReadingError,
)
from measure.powermeter.powermeter import PowerMeasurementResult, PowerMeter
Expand Down Expand Up @@ -245,7 +244,7 @@ def _measure_dummy_load(self, file_path: str) -> float:

print(
"Measuring and checking dummy load... this will take at least %.0f minutes."
% (dummy_load_measurement_count / 60 * dummy_load_measurements_duration)
% (dummy_load_measurement_count / 60 * dummy_load_measurements_duration),
)

# Validate power meter is capable of measuring voltage
Expand Down

0 comments on commit 4ec7baa

Please sign in to comment.