Coverage for src / bluetooth_sig / gatt / characteristics / ozone_concentration.py: 100%
7 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-03-18 11:17 +0000
« prev ^ index » next coverage.py v7.13.5, created at 2026-03-18 11:17 +0000
1# pylint: disable=duplicate-code # Concentration characteristics share template configuration
2"""Ozone Concentration characteristic implementation."""
4from __future__ import annotations
6from .base import BaseCharacteristic
7from .templates import ConcentrationTemplate
10class OzoneConcentrationCharacteristic(BaseCharacteristic[float]):
11 """Ozone concentration measurement characteristic (0x2BD4).
13 Represents ozone concentration in parts per billion (ppb) with a
14 resolution of 1 ppb.
15 """
17 _template = ConcentrationTemplate()
19 _manual_unit: str = "ppb" # Override template's "ppm" default
21 # Template configuration
22 resolution: float = 1.0