Repository: Bluetooth-Devices/xiaomi-ble (language: python)

Issue:
JTYJGD03MI is defined as a thermometer but is a smoke detector.
   JTYJGD03MI is defined as a thermometer but is a smoke detector.
[product link](https://tr.aliexpress.com/item/1000008294002.html?spm=a2g0o.productlist.main.3.70dd1f74uTkhJ9&algo_pvid=575ab0cb-95e1-47bd-94c3-e0ce4eb0e14d&aem_p4p_detail=202305281156057972388732824820011461146&algo_exp_id=575ab0cb-95e1-47bd-94c3-e0ce4eb0e14d-1&pdp_npi=3%40dis%21TRY%21604.0%21591.93%21%21%21%21%21%402100b78b16853001656183283d07b2%2112000022064570758%21sea%21TR%21176954440&curPageLogUid=L21T4uUZ1dHY&p4p_pvid=202305281156057972388732824820011461146_2)
 0x0997: DeviceEntry(
        name="Thermometer",
        model="JTYJGD03MI"

![JTYJGD03MI](https://github.com/Bluetooth-Devices/xiaomi-ble/assets/26777241/73f45f9a-6401-4958-ad0d-86ae02e4640f)



Discussion / hints:

Fix patch:
diff --git a/src/xiaomi_ble/devices.py b/src/xiaomi_ble/devices.py
index 85e532d..5942a6e 100644
--- a/src/xiaomi_ble/devices.py
+++ b/src/xiaomi_ble/devices.py
@@ -54,7 +54,7 @@ class DeviceEntry:
         model="JQJCY01YM",
     ),
     0x0997: DeviceEntry(
-        name="Thermometer",
+        name="Smoke Detector",
         model="JTYJGD03MI",
     ),
     0x1568: DeviceEntry(


Test patch:
diff --git a/tests/test_parser.py b/tests/test_parser.py
index 0b7e70d..c91bbbf 100644
--- a/tests/test_parser.py
+++ b/tests/test_parser.py
@@ -769,10 +769,10 @@ def test_Xiaomi_JTYJGD03MI_smoke():
     assert device.supported(advertisement)
     assert device.bindkey_verified
     assert device.update(advertisement) == SensorUpdate(
-        title="Thermometer 9CBC (JTYJGD03MI)",
+        title="Smoke Detector 9CBC (JTYJGD03MI)",
         devices={
             None: SensorDeviceInfo(
-                name="Thermometer 9CBC",
+                name="Smoke Detector 9CBC",
                 manufacturer="Xiaomi",
                 model="JTYJGD03MI",
                 hw_version=None,
@@ -817,10 +817,10 @@ def test_Xiaomi_JTYJGD03MI_press():
     assert device.supported(advertisement)
     assert device.bindkey_verified
     assert device.update(advertisement) == SensorUpdate(
-        title="Thermometer 9CBC (JTYJGD03MI)",
+        title="Smoke Detector 9CBC (JTYJGD03MI)",
         devices={
             None: SensorDeviceInfo(
-                name="Thermometer 9CBC",
+                name="Smoke Detector 9CBC",
                 manufacturer="Xiaomi",
                 model="JTYJGD03MI",
                 hw_version=None,