Просмотр исходного кода

feat (inkbird_itc308_thermostat): add product details for another variant

Based on PR #4581

PR also marked all dps except 104 as optional, and several dps as
force: true.

The optional marking was not included because having so few dps
defined makes differentiating devices too difficult, so it is better
to use product id for matching via the cloud-assisted config flow for
such devices.

The force: true is unlikely to work based on experience (only some smartplugs
benefit from this), and can cause issues for devices that do not support it,
so this is also omitted for now. Issues with dps not showing can often be
resolved by using a different protocol (especially in case of 3.2/3.22/3.3,
which half-interoperate, making it difficult to choose the right one
automatically)
Jason Rumney 23 часов назад
Родитель
Сommit
2fe44fa59f
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      custom_components/tuya_local/devices/inkbird_itc308_thermostat.yaml

+ 3 - 0
custom_components/tuya_local/devices/inkbird_itc308_thermostat.yaml

@@ -3,6 +3,9 @@ products:
   - id: B0eP8qYAdpUo4yR9
   - id: B0eP8qYAdpUo4yR9
     manufacturer: Inkbird
     manufacturer: Inkbird
     model: ITC-308
     model: ITC-308
+  - id: rt9nqdxeiqo7dnz9
+    manufacturer: Inkbird
+    model: ITC-308-WIFI
 entities:
 entities:
   - entity: climate
   - entity: climate
     dps:
     dps: