loratap_relay.yaml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. name: Loratap Relay
  2. products:
  3. - id: owzofmjyg7foteb6
  4. name: Loratap RR500W
  5. primary_entity:
  6. entity: switch
  7. dps:
  8. - id: 1
  9. type: boolean
  10. name: switch
  11. secondary_entities:
  12. - entity: number
  13. name: Countdown
  14. icon: "mdi:timer"
  15. category: config
  16. dps:
  17. - id: 9
  18. type: integer
  19. name: value
  20. range:
  21. min: 0
  22. max: 86400
  23. mapping:
  24. - scale: 0
  25. step: 1
  26. unit: s
  27. - entity: select
  28. name: Restart Status
  29. category: config
  30. icon: "mdi:toggle-switch"
  31. dps:
  32. - id: 39
  33. type: string
  34. name: option
  35. mapping:
  36. - dps_val: 0
  37. value: "Off"
  38. - dps_val: 1
  39. value: "On"
  40. - dps_val: 2
  41. value: Keep state
  42. - id: 42
  43. type: string
  44. name: cycle_time
  45. - id: 43
  46. type: string
  47. name: random_time
  48. - entity: select
  49. name: Light Mode
  50. category: config
  51. icon: "mdi:toggle-switch"
  52. dps:
  53. - id: 40
  54. type: string
  55. name: option
  56. mapping:
  57. - dps_val: relay
  58. value: "Indicate switch on/off"
  59. - dps_val: pos
  60. value: "Indicate switch location"
  61. - dps_val: none
  62. value: Indicator LED off
  63. - entity: lock
  64. name: Child lock
  65. category: config
  66. icon: "mdi:hand-back-right-off"
  67. dps:
  68. - id: 41
  69. type: boolean
  70. name: lock