Coverage for src / bluetooth_sig / gatt / characteristics / humidity.py: 100%
5 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"""Humidity characteristic implementation."""
3from __future__ import annotations
5from .base import BaseCharacteristic
6from .templates import ScaledUint16Template
9class HumidityCharacteristic(BaseCharacteristic[float]):
10 """Humidity characteristic (0x2A6F).
12 org.bluetooth.characteristic.humidity
14 Humidity measurement characteristic.
15 """
17 # Template configuration
18 _template = ScaledUint16Template(scale_factor=0.01)