loratap_relay.yaml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. name: Relay switch
  2. products:
  3. - id: owzofmjyg7foteb6
  4. manufacturer: Loratap
  5. model: RR500W
  6. entities:
  7. - entity: switch
  8. dps:
  9. - id: 1
  10. type: boolean
  11. name: switch
  12. - id: 42
  13. type: string
  14. name: cycle_time
  15. optional: true
  16. - id: 43
  17. type: string
  18. name: random_time
  19. optional: true
  20. - id: 44
  21. type: string
  22. name: inching
  23. optional: true
  24. - entity: time
  25. translation_key: timer
  26. category: config
  27. dps:
  28. - id: 9
  29. type: integer
  30. name: second
  31. range:
  32. min: 0
  33. max: 86400
  34. - entity: select
  35. translation_key: initial_state
  36. category: config
  37. dps:
  38. - id: 39
  39. type: string
  40. name: option
  41. mapping:
  42. - dps_val: 0
  43. value: "off"
  44. - dps_val: 1
  45. value: "on"
  46. - dps_val: 2
  47. value: memory
  48. - entity: select
  49. translation_key: light_mode
  50. category: config
  51. dps:
  52. - id: 40
  53. type: string
  54. name: option
  55. mapping:
  56. - dps_val: relay
  57. value: state
  58. - dps_val: pos
  59. value: locator
  60. - dps_val: none
  61. value: "off"
  62. - entity: lock
  63. translation_key: child_lock
  64. category: config
  65. dps:
  66. - id: 41
  67. type: boolean
  68. name: lock