Coverage for src / bluetooth_sig / gatt / services / health_thermometer.py: 100%
6 statements
« prev ^ index » next coverage.py v7.13.1, created at 2026-01-11 20:14 +0000
« prev ^ index » next coverage.py v7.13.1, created at 2026-01-11 20:14 +0000
1"""Health Thermometer Service implementation."""
3from __future__ import annotations
5from typing import ClassVar
7from ..characteristics.registry import CharacteristicName
8from .base import BaseGattService
11class HealthThermometerService(BaseGattService):
12 """Health Thermometer Service implementation (0x1809).
14 Used for medical temperature measurement devices. Contains the
15 Temperature Measurement characteristic for medical-grade temperature
16 readings.
17 """
19 service_characteristics: ClassVar[dict[CharacteristicName, bool]] = {
20 CharacteristicName.TEMPERATURE_MEASUREMENT: True, # required
21 }