SWS-12500-custom-component/custom_components/sws12500
SchiZzA 36591b32cf
fix(utils): widen wind_dir_to_text param to float | str | None
The azimut value_from_data_fn now passes dir.get(WIND_DIR) (typed Any | None),
which tripped basedpyright reportArgumentType against the float-only signature.
The body already coerces via to_float() and handles None, so widen the
annotation to match the real inputs (raw str payload, float, or None).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-25 21:47:51 +02:00
..
translations Add stall sensor detection. 2026-07-25 21:47:50 +02:00
__init__.py fix(routes): rebind sticky health route on reload; defensive resolve 2026-07-25 21:47:51 +02:00
battery_sensors.py Implement Ecowitt protocol support and dynamic binary sensor discovery. 2026-07-25 21:47:48 +02:00
battery_sensors_def.py fix: coordinator reuse, route dispatcher, binary sensor translations & test suite alignment 2026-07-25 21:47:50 +02:00
binary_sensor.py fix: coordinator reuse, route dispatcher, binary sensor translations & test suite alignment 2026-07-25 21:47:50 +02:00
config_flow.py fix: address review findings across forwarders and helpers 2026-07-25 21:47:51 +02:00
const.py fix: address review findings across forwarders and helpers 2026-07-25 21:47:51 +02:00
coordinator.py fix(coordinator): pass config_entry to DataUpdateCoordinator 2026-07-25 21:47:51 +02:00
data.py Add stall sensor detection. 2026-07-25 21:47:50 +02:00
diagnostics.py fix: coordinator reuse, route dispatcher, binary sensor translations & test suite alignment 2026-07-25 21:47:50 +02:00
ecowitt.py fix: address review findings across forwarders and helpers 2026-07-25 21:47:51 +02:00
health_coordinator.py fix(coordinator): pass config_entry to DataUpdateCoordinator 2026-07-25 21:47:51 +02:00
health_sensor.py fix: coordinator reuse, route dispatcher, binary sensor translations & test suite alignment 2026-07-25 21:47:50 +02:00
icons.json Refactor SWS12500 integration for push-based updates 2026-07-25 21:45:07 +02:00
legacy.py fix: coordinator reuse, route dispatcher, binary sensor translations & test suite alignment 2026-07-25 21:47:50 +02:00
manifest.json Implement Ecowitt protocol support and dynamic binary sensor discovery. 2026-07-25 21:47:48 +02:00
pocasti_cz.py fix: address review findings across forwarders and helpers 2026-07-25 21:47:51 +02:00
routes.py fix(routes): rebind sticky health route on reload; defensive resolve 2026-07-25 21:47:51 +02:00
sensor.py fix(ecowitt): Connect Ecowitt bridge to sensor platform earlier 2026-07-25 21:47:50 +02:00
sensors_common.py fix: coordinator reuse, route dispatcher, binary sensor translations & test suite alignment 2026-07-25 21:47:50 +02:00
sensors_weather.py fix: address review findings across forwarders and helpers 2026-07-25 21:47:51 +02:00
sensors_wslink.py fix: address review findings across forwarders and helpers 2026-07-25 21:47:51 +02:00
staleness.py Add stall sensor detection. 2026-07-25 21:47:50 +02:00
strings.json fix: coordinator reuse, route dispatcher, binary sensor translations & test suite alignment 2026-07-25 21:47:50 +02:00
sws12500 Add health diagnostic sensor and extensive tests for sws12500 2026-07-25 21:45:08 +02:00
utils.py fix(utils): widen wind_dir_to_text param to float | str | None 2026-07-25 21:47:51 +02:00
windy_func.py fix: address review findings across forwarders and helpers 2026-07-25 21:47:51 +02:00