Coverage for src / bluetooth_sig / gatt / characteristics / true_wind_direction.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"""True Wind Direction characteristic implementation."""
3from __future__ import annotations
5from .base import BaseCharacteristic
6from .templates import ScaledUint16Template
9class TrueWindDirectionCharacteristic(BaseCharacteristic[float]):
10 """True Wind Direction characteristic (0x2A71).
12 org.bluetooth.characteristic.true_wind_direction
14 True Wind Direction measurement characteristic.
15 """
17 _template = ScaledUint16Template.from_letter_method(M=1, d=-2, b=0)