position_blinds.yaml 781 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. name: Blind controller with set and read position
  2. primary_entity:
  3. entity: cover
  4. class: blind
  5. dps:
  6. - id: 1
  7. name: control
  8. type: string
  9. mapping:
  10. - dps_val: open
  11. value: open
  12. - dps_val: close
  13. value: close
  14. - dps_val: stop
  15. value: stop
  16. - id: 2
  17. name: position
  18. type: integer
  19. range:
  20. min: 0
  21. max: 100
  22. mapping:
  23. - invert: true
  24. - id: 2
  25. name: current_position
  26. type: integer
  27. range:
  28. min: 0
  29. max: 100
  30. mapping:
  31. - invert: true
  32. - id: 5
  33. name: control_back_mode
  34. type: boolean
  35. - id: 7
  36. name: work_state
  37. type: string
  38. # seems intended to match action, but doesn't change in observation