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

Added Boolean Switch (ID 2 part of primary entity

thewolf-oz 2 лет назад
Родитель
Сommit
33a68bd374

+ 4 - 0
custom_components/tuya_local/devices/arlec_thermostat_smartplug.yaml

@@ -6,6 +6,10 @@ primary_entity:
   entity: climate
   dps:
     - id: 2
+      type: boolean
+      name: switch
+      icon: mdi:light-switch
+    - id: 9
       type: boolean
       name: hvac_mode
       icon: "mdi:thermostat-box"