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

5 statements  

« prev     ^ index     » next       coverage.py v7.14.3, created at 2026-06-28 01:26 +0000

1"""Cooking Temperature characteristic (0x2C2E).""" 

2 

3from __future__ import annotations 

4 

5from .base import BaseCharacteristic 

6from .templates import ScaledSint16Template 

7 

8 

9class CookingTemperatureCharacteristic(BaseCharacteristic[float]): 

10 """Cooking Temperature characteristic (0x2C2E). 

11 

12 org.bluetooth.characteristic.cooking_temperature 

13 """ 

14 

15 _template = ScaledSint16Template.from_letter_method(M=1, d=-1, b=0)