mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-04-07 08:03:40 +00:00
PLW0108: Three lambdas were simple pass-throughs that added no value: lambda data: aggregate_level_data(data) → aggregate_level_data lambda: lifecycle_calculator.get_lifecycle_state() → lifecycle_calculator.get_lifecycle_state Affected files: sensor/calculators/rolling_hour.py (line 115) sensor/helpers.py (line 139) sensor/value_getters.py (line 220) Impact: No behaviour change. Linter now passes with zero warnings. |
||
|---|---|---|
| .. | ||
| attributes | ||
| calculators | ||
| __init__.py | ||
| chart_data.py | ||
| chart_metadata.py | ||
| core.py | ||
| definitions.py | ||
| helpers.py | ||
| types.py | ||
| value_getters.py | ||