SWS-12500-custom-component/custom_components/sws12500
SchiZzA a9098555ba
fix(Pocasi): Add retry limit and response handling
Add POCASI_CZ_MAX_RETRIES and map HTTP status codes to explicit send
outcomes. Use the status (not the empty body) to classify sends as
"ok", "auth_error", or "unexpected_response". Introduce _disable_pocasi
to persistently turn off resending and record errors. Count unexpected
responses and disable resends after the retry limit; adjust client-error
handling to reuse the same disable logic. Update tests and config flow
expectations to match the new behavior.
2026-07-25 21:47:53 +02:00
..
translations feat(ecowitt): dedupe unit-variant sensors and translate common native ones 2026-07-25 21:47:53 +02:00
__init__.py chore(quality): manifest keys, ConfigEntryNotReady, remove dead sqlite code 2026-07-25 21:47:52 +02:00
battery_sensors.py feat(device): merge all entities into one shared device with station-type model 2026-07-25 21:47:53 +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(correctness): reload-window guards, rate-limit races, ecowitt flush, dt_util 2026-07-25 21:47:52 +02:00
config_flow.py fix: Prevent addon probe from failing config entry 2026-07-25 21:47:53 +02:00
const.py fix(Pocasi): Add retry limit and response handling 2026-07-25 21:47:53 +02:00
coordinator.py feat(device): merge all entities into one shared device with station-type model 2026-07-25 21:47:53 +02:00
data.py feat(device): merge all entities into one shared device with station-type model 2026-07-25 21:47:53 +02:00
diagnostics.py fix(security)+i18n: stop health-attribute leak, mask secrets in logs, sync translations 2026-07-25 21:47:52 +02:00
ecowitt.py feat(device): merge all entities into one shared device with station-type model 2026-07-25 21:47:53 +02:00
health_coordinator.py fix: Prevent addon probe from failing config entry 2026-07-25 21:47:53 +02:00
health_sensor.py feat(device): merge all entities into one shared device with station-type model 2026-07-25 21:47:53 +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 chore(quality): manifest keys, ConfigEntryNotReady, remove dead sqlite code 2026-07-25 21:47:52 +02:00
pocasti_cz.py fix(Pocasi): Add retry limit and response handling 2026-07-25 21:47:53 +02:00
routes.py fix(routes): rebind sticky health route on reload; defensive resolve 2026-07-25 21:47:51 +02:00
sensor.py feat(device): merge all entities into one shared device with station-type model 2026-07-25 21:47:53 +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 feat(ecowitt): dedupe unit-variant sensors and translate common native ones 2026-07-25 21:47:53 +02:00
sws12500 Add health diagnostic sensor and extensive tests for sws12500 2026-07-25 21:45:08 +02:00
utils.py chore(quality): manifest keys, ConfigEntryNotReady, remove dead sqlite code 2026-07-25 21:47:52 +02:00
windy_func.py fix(security): harden forwarders, cap native ecowitt entities, reject empty creds 2026-07-25 21:47:52 +02:00