loratap_zigbee_curtain.yaml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. name: ZigBee Curtain
  2. product:
  3. - id: 8kzqqzu4
  4. name: SC500ZB-V2
  5. primary_entity:
  6. entity: cover
  7. class: shutter
  8. dps:
  9. - id: 1
  10. name: control
  11. type: string
  12. mapping:
  13. - dps_val: "open"
  14. value: open
  15. - dps_val: "close"
  16. value: close
  17. - dps_val: "stop"
  18. value: stop
  19. - id: 2
  20. name: position
  21. type: integer
  22. unit: "%"
  23. range:
  24. min: 0
  25. max: 100
  26. mapping:
  27. - scale: 0
  28. - step: 10
  29. - id: 14
  30. name: light_mode
  31. type: string
  32. hidden: true
  33. secondary_entities:
  34. - entity: switch
  35. category: config
  36. name: Reverse Motor Direction
  37. icon: "mdi:arrow-u-down-left"
  38. dps:
  39. - id: 8
  40. type: string
  41. name: switch
  42. mapping:
  43. - dps_val: "forward"
  44. value: false
  45. - dps_val: "back"
  46. value: true
  47. - entity: select
  48. name: Calibration
  49. category: config
  50. icon: "mdi:toggle-switch"
  51. dps:
  52. - id: 3
  53. name: option
  54. type: string
  55. mapping:
  56. - dps_val: "start"
  57. value: "On"
  58. - dps_val: "end"
  59. value: "Off"