moes_touch_curtain_switch.yaml 960 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. name: Curtain switch
  2. products:
  3. - id: 6tb9dko4t15optxz
  4. manufacturer: Moes
  5. model: SCS80 Touch
  6. entities:
  7. - entity: cover
  8. class: curtain
  9. dps:
  10. - id: 1
  11. name: control
  12. type: string
  13. mapping:
  14. - dps_val: open
  15. value: open
  16. - dps_val: close
  17. value: close
  18. - dps_val: continue
  19. value: stop
  20. - entity: light
  21. translation_key: backlight
  22. category: config
  23. dps:
  24. - id: 7
  25. type: boolean
  26. name: switch
  27. - entity: number
  28. name: Time control
  29. category: config
  30. class: duration
  31. icon: "mdi:timer"
  32. dps:
  33. - id: 10
  34. type: integer
  35. name: value
  36. unit: s
  37. range:
  38. min: 10
  39. max: 120
  40. - entity: button
  41. name: Stop button
  42. category: config
  43. icon: "mdi:stop"
  44. dps:
  45. - id: 101
  46. type: boolean
  47. name: button
  48. optional: true
  49. persist: false