ls830ty_curtain.yaml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. name: Curtain
  2. products:
  3. - id: 550grkojy40jodv0
  4. model: LS830-TY
  5. entities:
  6. - entity: cover
  7. class: curtain
  8. dps:
  9. - id: 1
  10. type: string
  11. name: control
  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. type: integer
  21. name: position
  22. optional: true
  23. range:
  24. min: 0
  25. max: 100
  26. mapping:
  27. - invert: true
  28. - id: 3
  29. type: integer
  30. name: current_position
  31. range:
  32. min: 0
  33. max: 100
  34. mapping:
  35. - invert: true
  36. - entity: select
  37. name: Direction
  38. icon: "mdi:arrow-u-left-bottom"
  39. category: config
  40. dps:
  41. - id: 5
  42. type: boolean
  43. name: option
  44. mapping:
  45. - dps_val: false
  46. value: Clockwise
  47. - dps_val: true
  48. value: Anti-clockwise
  49. - entity: binary_sensor
  50. class: problem
  51. category: diagnostic
  52. dps:
  53. - id: 10
  54. type: bitfield
  55. name: sensor
  56. optional: true
  57. mapping:
  58. - dps_val: 0
  59. value: false
  60. - dps_val: null
  61. value: false
  62. - value: true
  63. - id: 10
  64. type: bitfield
  65. optional: true
  66. name: fault_code
  67. - entity: sensor
  68. name: Running time
  69. class: duration
  70. category: diagnostic
  71. dps:
  72. - id: 11
  73. type: integer
  74. name: sensor
  75. optional: true
  76. unit: s
  77. class: measurement
  78. mapping:
  79. - scale: 1000
  80. - dps_val: null
  81. value: 0