loratap_relay.yaml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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: number
  25. translation_key: timer
  26. class: duration
  27. category: config
  28. dps:
  29. - id: 9
  30. type: integer
  31. name: value
  32. range:
  33. min: 0
  34. max: 86400
  35. unit: s
  36. - entity: select
  37. translation_key: initial_state
  38. category: config
  39. dps:
  40. - id: 39
  41. type: string
  42. name: option
  43. mapping:
  44. - dps_val: 0
  45. value: "off"
  46. - dps_val: 1
  47. value: "on"
  48. - dps_val: 2
  49. value: memory
  50. - entity: select
  51. name: Light Mode
  52. category: config
  53. icon: "mdi:toggle-switch"
  54. dps:
  55. - id: 40
  56. type: string
  57. name: option
  58. mapping:
  59. - dps_val: relay
  60. value: "Indicate switch on/off"
  61. - dps_val: pos
  62. value: "Indicate switch location"
  63. - dps_val: none
  64. value: Indicator LED off
  65. - entity: lock
  66. translation_key: child_lock
  67. category: config
  68. dps:
  69. - id: 41
  70. type: boolean
  71. name: lock