Skip to content

Replace lambda with def

7bce958
Select commit
Loading
Failed to load commit list.
Merged

Add powerprotection module #1337

Replace lambda with def
7bce958
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Jan 25, 2025 in 0s

89.47% of diff hit (target 92.57%)

View this Pull Request on Codecov

89.47% of diff hit (target 92.57%)

Annotations

Check warning on line 292 in kasa/module.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

kasa/module.py#L292

Added line #L292 was not covered by tests

Check warning on line 72 in kasa/smart/modules/powerprotection.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

kasa/smart/modules/powerprotection.py#L72

Added line #L72 was not covered by tests

Check warning on line 86 in kasa/smart/modules/powerprotection.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

kasa/smart/modules/powerprotection.py#L86

Added line #L86 was not covered by tests