00 00 00` | device answers `09 02` (echo) and `06 24` (pre-alarm) | | Clear target | `09 01 01 00 …` + `04 23 01 00 00` | `09 02` | | Pre-alarm alone (no target) | `06 23 0100 00 00` | `06 24` | | Unit | `02 03 43`/`46` | no known echo → re-query `01 04` | | Sound | `03 0b 5a 02` / `03 0b 11 01` | re-query `01 0c` | | Display-off time | `03 07` | re-query `01 08` | | Calibration | `0e 09 01 00 × 10` | re-query `02 0a ff` | | Name | `[len] 36 01 ` | re-query `02 37 01` | | Timer start | `0a 25 <01 down / 81 up> ` | re-query `02 26 01` | | Timer reset | `03 27 01 00` | re-query `02 26 01` | | Alarm acknowledge | `02 0d 0f`, `03 29 0f 00`, `02 35 0f`, `03 27 01 00` | none; the status bits (`ff03`) show the result | | Clock | `07 19 ` | `05 20 ` seen in the capture, not awaited | A state changes only on the device's answer, never optimistically. Details and test vectors: `custom_components/inkbird_thermometer/protocol.py` and `tests/test_protocol.py`. ## Tests `python3 tests/test_protocol.py` runs the protocol tests without Home Assistant. The full suite needs the Home Assistant test helpers: `pytest-homeassistant-custom-component` up to Home Assistant 2026.10, `pytest-homeassistant` (same version as Home Assistant) from 2026.11 on; then `pytest` from the repository root. Before each release it is run locally against the minimum version from `hacs.json` and the current release (CI runs only hassfest and the HACS action). `ruff check .` and `ruff format --check .` use `ruff.toml`. The card tests (`tests/card_cook_test.mjs`, run by `tests/test_card.py`) need Node.js and are skipped without it. ## License MIT