SWS-12500-custom-component/custom_components/sws12500
SchiZzA 25341f79b3
fix: address review findings across forwarders and helpers
- wind_dir_to_text: treat 0/missing direction as None (calm) so a missing
  wind direction no longer renders as North; azimut lambdas pass None too.
- windy: log response status (was logging an un-awaited coroutine method);
  count "unexpected response" toward the disable threshold even when logging
  is off.
- pocasi: disable threshold >3 -> >=3 to match Windy's 3-strike behavior.
- ecowitt: always attach device_info to native sensors, including unknown
  sensor types (previously left orphaned without a device).
- const: stop remapping WSLink connection flags (t1cn/t234cXcn) into the
  payload; they had no entity and leaked ghost *_connection keys into data
  and persisted SENSORS_TO_LOAD. Gating uses the raw keys and is unaffected.
- config_flow: fix WSLink port fallback typo 433 -> 443; drop mutable default
  argument on async_step_init.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-21 12:51:35 +02:00
..
translations Add stall sensor detection. 2026-06-01 17:47:30 +02:00
__init__.py fix(routes): rebind sticky health route on reload; defensive resolve 2026-06-21 12:51:14 +02:00
battery_sensors.py Implement Ecowitt protocol support and dynamic binary sensor discovery. 2026-04-11 16:37:17 +02:00
battery_sensors_def.py fix: coordinator reuse, route dispatcher, binary sensor translations & test suite alignment 2026-06-01 17:01:40 +02:00
binary_sensor.py fix: coordinator reuse, route dispatcher, binary sensor translations & test suite alignment 2026-06-01 17:01:40 +02:00
config_flow.py fix: address review findings across forwarders and helpers 2026-06-21 12:51:35 +02:00
const.py fix: address review findings across forwarders and helpers 2026-06-21 12:51:35 +02:00
coordinator.py fix(coordinator): pass config_entry to DataUpdateCoordinator 2026-06-21 12:51:25 +02:00
data.py Add stall sensor detection. 2026-06-01 17:47:30 +02:00
diagnostics.py fix: coordinator reuse, route dispatcher, binary sensor translations & test suite alignment 2026-06-01 17:01:40 +02:00
ecowitt.py fix: address review findings across forwarders and helpers 2026-06-21 12:51:35 +02:00
health_coordinator.py fix(coordinator): pass config_entry to DataUpdateCoordinator 2026-06-21 12:51:25 +02:00
health_sensor.py fix: coordinator reuse, route dispatcher, binary sensor translations & test suite alignment 2026-06-01 17:01:40 +02:00
icons.json Refactor SWS12500 integration for push-based updates 2026-01-27 09:21:27 +01:00
legacy.py fix: coordinator reuse, route dispatcher, binary sensor translations & test suite alignment 2026-06-01 17:01:40 +02:00
manifest.json Implement Ecowitt protocol support and dynamic binary sensor discovery. 2026-04-11 16:37:17 +02:00
pocasti_cz.py fix: address review findings across forwarders and helpers 2026-06-21 12:51:35 +02:00
routes.py fix(routes): rebind sticky health route on reload; defensive resolve 2026-06-21 12:51:14 +02:00
sensor.py fix(ecowitt): Connect Ecowitt bridge to sensor platform earlier 2026-06-21 11:28:24 +02:00
sensors_common.py fix: coordinator reuse, route dispatcher, binary sensor translations & test suite alignment 2026-06-01 17:01:40 +02:00
sensors_weather.py fix: address review findings across forwarders and helpers 2026-06-21 12:51:35 +02:00
sensors_wslink.py fix: address review findings across forwarders and helpers 2026-06-21 12:51:35 +02:00
staleness.py Add stall sensor detection. 2026-06-01 17:47:30 +02:00
strings.json fix: coordinator reuse, route dispatcher, binary sensor translations & test suite alignment 2026-06-01 17:01:40 +02:00
sws12500 Add health diagnostic sensor and extensive tests for sws12500 2026-02-21 11:29:40 +01:00
utils.py fix: address review findings across forwarders and helpers 2026-06-21 12:51:35 +02:00
windy_func.py fix: address review findings across forwarders and helpers 2026-06-21 12:51:35 +02:00