moes_wsyeuc_curtainswitch.yaml 721 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. name: Curtain switch
  2. products:
  3. - id: 1qhlrytqcpnqmzj7
  4. name: Moes WS-Y-EUC
  5. primary_entity:
  6. entity: cover
  7. class: curtain
  8. dps:
  9. - id: 1
  10. name: control
  11. type: string
  12. mapping:
  13. - dps_val: "on"
  14. value: open
  15. - dps_val: "off"
  16. value: close
  17. - dps_val: stop
  18. value: stop
  19. secondary_entities:
  20. - entity: light
  21. category: config
  22. translation_key: backlight
  23. dps:
  24. - id: 101
  25. type: boolean
  26. name: switch
  27. - entity: number
  28. name: Travel time
  29. category: config
  30. icon: "mdi:clock-end"
  31. dps:
  32. - id: 9
  33. type: integer
  34. name: value
  35. unit: s
  36. range:
  37. min: 10
  38. max: 120