Coverage for src / bluetooth_sig / gatt / characteristics / day_of_week.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.13.1, created at 2026-01-11 20:14 +0000

1"""Day of Week characteristic implementation.""" 

2 

3from __future__ import annotations 

4 

5from .base import BaseCharacteristic 

6from .templates import Uint8Template 

7 

8 

9class DayOfWeekCharacteristic(BaseCharacteristic[int]): 

10 """Day of Week characteristic (0x2A09). 

11 

12 org.bluetooth.characteristic.day_of_week 

13 

14 Represents the day of the week as an 8-bit enumeration (1=Monday, 7=Sunday). 

15 """ 

16 

17 _template = Uint8Template()