SWS-12500-custom-component/tests
SchiZzA 21dfa61cd5
Add HCHO / VOC air-quality sensors (T9 module)
Support the WSLink t9 air-quality module:
  - t9hcho (formaldehyde, ppb),
  - t9voclv (VOC level 1-5 -> ENUM state)
  - t9bat (0-5 battery -> percentage).

  The t9hcho/t9voclv/t9bat values are dropped when
  t9cn reports the module as disconnected,
  so no empty entities are created.

  - const: HCHO/VOC/T9_BATTERY keys, VOCLevel enum +
  VOC_LEVEL_MAP, BATTERY_NON_BINARY, CONNECTION_GATED_SENSORS,
  REMAP_WSLINK_ITEMS entries
  - utils: voc_level_to_text(),
  battery_5step_to_pct(), connection gating
  - sensors_wslink: HCHO / VOC / T9_BATTERY entity
  descriptions
  - translations (en, cs): hcho, voc (+ states),
  t9_battery
  - tests: tests/conftest.py +
  tests/test_t9_air_quality.py
2026-05-24 22:19:30 +02:00
..
conftest.py Add health diagnostic sensor and extensive tests for sws12500 2026-02-21 11:29:40 +01:00
test_config_flow.py Add health diagnostic sensor and extensive tests for sws12500 2026-02-21 11:29:40 +01:00
test_const.py Add health diagnostic sensor and extensive tests for sws12500 2026-02-21 11:29:40 +01:00
test_data.py Add health diagnostic sensor and extensive tests for sws12500 2026-02-21 11:29:40 +01:00
test_init.py Make routes method-aware and update related tests 2026-03-04 07:53:26 +01:00
test_integration_lifecycle.py Make routes method-aware and update related tests 2026-03-04 07:53:26 +01:00
test_pocasi_push.py Add health diagnostic sensor and extensive tests for sws12500 2026-02-21 11:29:40 +01:00
test_received_data.py Make routes method-aware and update related tests 2026-03-04 07:53:26 +01:00
test_routes.py Make routes method-aware and update related tests 2026-03-04 07:53:26 +01:00
test_sensor_platform.py Add health diagnostic sensor and extensive tests for sws12500 2026-02-21 11:29:40 +01:00
test_sensors_common.py Add health diagnostic sensor and extensive tests for sws12500 2026-02-21 11:29:40 +01:00
test_sensors_weather.py Add health diagnostic sensor and extensive tests for sws12500 2026-02-21 11:29:40 +01:00
test_sensors_wslink.py Add health diagnostic sensor and extensive tests for sws12500 2026-02-21 11:29:40 +01:00
test_strings.py Add health diagnostic sensor and extensive tests for sws12500 2026-02-21 11:29:40 +01:00
test_t9_air_quality.py Add HCHO / VOC air-quality sensors (T9 module) 2026-05-24 22:19:30 +02:00
test_translations_cs.py Add health diagnostic sensor and extensive tests for sws12500 2026-02-21 11:29:40 +01:00
test_translations_en.py Add health diagnostic sensor and extensive tests for sws12500 2026-02-21 11:29:40 +01:00
test_utils.py Add health diagnostic sensor and extensive tests for sws12500 2026-02-21 11:29:40 +01:00
test_utils_more.py Add health diagnostic sensor and extensive tests for sws12500 2026-02-21 11:29:40 +01:00
test_weather_sensor_entity.py Make routes method-aware and update related tests 2026-03-04 07:53:26 +01:00
test_windy_func.py Add health diagnostic sensor and extensive tests for sws12500 2026-02-21 11:29:40 +01:00
test_windy_push.py Make routes method-aware and update related tests 2026-03-04 07:53:26 +01:00