Coverage for src / bluetooth_sig / gatt / characteristics / day_of_week.py: 100%
6 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"""Day of Week characteristic implementation."""
3from __future__ import annotations
5from ...types.gatt_enums import DayOfWeek
6from .base import BaseCharacteristic
7from .templates import EnumTemplate
10class DayOfWeekCharacteristic(BaseCharacteristic[DayOfWeek]):
11 """Day of Week characteristic (0x2A09).
13 org.bluetooth.characteristic.day_of_week
15 Represents the day of the week as an 8-bit enumeration (1=Monday, 7=Sunday).
16 """
18 _template = EnumTemplate.uint8(DayOfWeek)