Coverage for src / bluetooth_sig / gatt / services / health_thermometer.py: 100%
6 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-04-03 16:41 +0000
« prev ^ index » next coverage.py v7.13.5, created at 2026-04-03 16:41 +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,
21 CharacteristicName.TEMPERATURE_TYPE: False,
22 CharacteristicName.INTERMEDIATE_TEMPERATURE: False,
23 CharacteristicName.MEASUREMENT_INTERVAL: False,
24 }