Coverage for src/bluetooth_sig/gatt/characteristics/light_output.py: 100%
5 statements
« prev ^ index » next coverage.py v7.14.3, created at 2026-06-28 01:26 +0000
« prev ^ index » next coverage.py v7.14.3, created at 2026-06-28 01:26 +0000
1"""Light Output characteristic (0x2BF0)."""
3from __future__ import annotations
5from .base import BaseCharacteristic
6from .templates import Uint24Template
9class LightOutputCharacteristic(BaseCharacteristic[int]):
10 """Light Output characteristic (0x2BF0).
12 org.bluetooth.characteristic.light_output
14 Light output in lumens with a resolution of 1.
15 A value of 0xFFFFFE represents 'value is not valid'.
17 Raises:
18 SpecialValueDetectedError: If raw value is a sentinel (e.g. 0xFFFFFE).
19 """
21 _template = Uint24Template()