Coverage for src / bluetooth_sig / gatt / characteristics / nitrogen_dioxide_concentration.py: 100%
7 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"""Nitrogen Dioxide Concentration characteristic implementation."""
3from __future__ import annotations
5from .base import BaseCharacteristic
6from .templates import ConcentrationTemplate
9class NitrogenDioxideConcentrationCharacteristic(BaseCharacteristic[float]):
10 """Nitrogen dioxide concentration measurement characteristic (0x2BD2).
12 Represents nitrogen dioxide (NO2) concentration in parts per billion
13 (ppb) with a resolution of 1 ppb.
14 """
16 _template = ConcentrationTemplate()
18 _manual_unit: str = "ppb" # Override template's "ppm" default
20 # Template configuration
21 resolution: float = 1.0