Coverage for src / bluetooth_sig / gatt / services / next_dst_change.py: 100%
6 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"""Next DST Change Service implementation."""
3from __future__ import annotations
5from typing import ClassVar
7from ..characteristics.registry import CharacteristicName
8from .base import BaseGattService
11class NextDstChangeService(BaseGattService):
12 """Next DST Change Service implementation.
14 Exposes the date and time of the next Daylight Saving Time change.
16 Contains characteristics related to DST changes:
17 - Time with DST - Required
18 """
20 service_characteristics: ClassVar[dict[CharacteristicName, bool]] = {
21 CharacteristicName.TIME_WITH_DST: True, # required
22 }