ls830ty_curtain.yaml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. name: Curtain
  2. products:
  3. - id: 550grkojy40jodv0
  4. name: LS830-TY
  5. primary_entity:
  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. secondary_entities:
  37. - entity: select
  38. name: Direction
  39. icon: "mdi:arrow-u-left-bottom"
  40. category: config
  41. dps:
  42. - id: 5
  43. type: boolean
  44. name: option
  45. mapping:
  46. - dps_val: false
  47. value: Clockwise
  48. - dps_val: true
  49. value: Anti-clockwise
  50. - entity: binary_sensor
  51. class: problem
  52. category: diagnostic
  53. dps:
  54. - id: 10
  55. type: bitfield
  56. name: sensor
  57. optional: true
  58. mapping:
  59. - dps_val: 0
  60. value: false
  61. - dps_val: null
  62. value: false
  63. - value: true
  64. - entity: sensor
  65. name: Running time
  66. class: duration
  67. category: diagnostic
  68. dps:
  69. - id: 11
  70. type: integer
  71. name: sensor
  72. optional: true
  73. unit: s
  74. class: measurement
  75. mapping:
  76. - scale: 1000
  77. - dps_val: null
  78. value: 0