Victor Maznev 2 лет назад
Родитель
Сommit
39dc8f8df4
2 измененных файлов с 43 добавлено и 4 удалено
  1. 5 4
      DEVICES.md
  2. 38 0
      custom_components/tuya_local/devices/moes_touch_curtain_switch.yaml

+ 5 - 4
DEVICES.md

@@ -25,7 +25,7 @@
 - Kogan flame effect heater - KAWHMFP20BA model
 - Kogan tower heater - KASTHFP2KWA model
 - Kogan Wi-Fi convection panel heaters - KAHTP and KAWFHTP models
-- MRC Magnum floor heating 
+- MRC Magnum floor heating
 - Nedis convection heater - WIFIHTPL20F model
 - Orion OWH-PTC2000 heater
 - Princess 350 panel heater
@@ -412,6 +412,7 @@ of device.
 - LoraTap QCSC420W double curtain switch
 - LoraTap SC500W-V1 curtain switch (supports many other simple curtain/blind controllers)
 - M027 curtain module (sold under several brands, including zemismart, meterk and others)
+- Moes SCS80 Touch curtain swich with backlight and timing control
 - QS-WIFI-C01(BK) curtain module
 - SHerko curtain motor
 - Wistar roller blind controller
@@ -510,10 +511,10 @@ port and password.
 - Qoto 03 smart water valve / sprinkler controller
 - SD123 HPR01 human presence radar
 - SH07-8 smart sprinkler controller
-- Sunbeam dual heated mattress pad 
+- Sunbeam dual heated mattress pad
 - SWS-001 smart weather station
 - TH08 temperature and humidity sensor
-- TH16 temperature and humidity sensor 
+- TH16 temperature and humidity sensor
 - Tontine electric blanket
 - Universal remote control (supports sensors only)
 - Xiumii human presence radar
@@ -543,7 +544,7 @@ port and password.
 
 ### Devices supported via Zigbee hubs
 
-- Aubess temperature and humidity sensor 
+- Aubess temperature and humidity sensor
 - Intelbras IFR7000 door lock
 - Loginovo mmWave human presence sensor
 - LoraTap SC500ZB-V2 curtain controller

+ 38 - 0
custom_components/tuya_local/devices/moes_touch_curtain_switch.yaml

@@ -0,0 +1,38 @@
+name: Curtain switch
+products:
+  - id: 6tb9dko4t15optxz
+    name: Moes SCS80 Touch Curtain Swich
+primary_entity:
+  entity: cover
+  class: curtain
+  dps:
+    - id: 1
+      name: control
+      type: string
+      mapping:
+        - dps_val: open
+          value: open
+        - dps_val: close
+          value: close
+        - dps_val: continue
+          value: stop
+secondary_entities:
+  - entity: light
+    name: Backlight
+    category: config
+    dps:
+      - id: 7
+        type: boolean
+        name: switch
+  - entity: number
+    name: Time control
+    category: config
+    icon: "mdi:timer"
+    dps:
+      - id: 10
+        type: integer
+        name: value
+        unit: s
+        range:
+          min: 10
+          max: 120