position_blinds.yaml 780 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. # seems intended to match action, but doesn't change in observation
  37. name: work_state
  38. type: string