Issue #583
@@ -238,3 +238,4 @@ Further device support has been made with the assistance of users. Please consi
- [tientmit88](https://github.com/tientmit88) for contributing support for Moes motion sensor lights.
- [matteozamu](https://github.com/matteozamu) for assisting with support for LoraTap garage doors.
- [chemicalstorm](https://github.com/chemicalstorm) for contributing support for Catit pixi 6-meal pet feeder.
+- [darki73](https://github.com/darki73) for contributing support for SHerko smart curtain motorss.
@@ -304,6 +304,7 @@ of device.
- LoraTap SC500W-V1 curtain switch
- M027 curtain module (sold under several brands, including zemismart, meterk and others)
- QS-WIFI-C01(BK) curtain module
+- SHerko curtain motor
- Wistar roller blind controller
- Zemismart curtain rail
- Zemismart roller shade
@@ -0,0 +1,69 @@
+name: Curtain motor
+products:
+ - id: h2wipnagcunsar5r
+ name: SHerko curtain motor
+primary_entity:
+ entity: cover
+ class: curtain
+ dps:
+ - id: 1
+ type: string
+ name: control
+ mapping:
+ - dps_val: open
+ value: open
+ - dps_val: close
+ value: close
+ - dps_val: stop
+ value: stop
+ # - dps_val: continue
+ # value: continue
+ - id: 2
+ type: integer
+ name: position
+ unit: "%"
+ range:
+ min: 0
+ max: 100
+ - id: 3
+ name: current_position
+ optional: true
+ - id: 7
+ name: action
+ - dps_val: opening
+ constraint: current_position
+ conditions:
+ - dps_val: 100
+ value: opened
+ - dps_val: null
+ - value: opening
+ - dps_val: closing
+ - dps_val: 0
+ value: closed
+ - value: closing
+secondary_entities:
+ - entity: switch
+ category: config
+ name: Reverse Motor Direction
+ icon: "mdi:arrow-u-down-left"
+ - id: 101
+ type: boolean
+ name: switch
+ name: Auto Power
+ icon: "mdi:flash-auto"
+ - id: 6