4
0

loratap_relay.yaml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. name: Relay switch
  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. - id: 42
  12. type: string
  13. name: cycle_time
  14. optional: true
  15. - id: 43
  16. type: string
  17. name: random_time
  18. optional: true
  19. - id: 44
  20. type: string
  21. name: inching
  22. optional: true
  23. secondary_entities:
  24. - entity: number
  25. name: Countdown
  26. icon: "mdi:timer"
  27. category: config
  28. dps:
  29. - id: 9
  30. type: integer
  31. name: value
  32. range:
  33. min: 0
  34. max: 86400
  35. mapping:
  36. - scale: 0
  37. step: 1
  38. unit: s
  39. - entity: select
  40. name: Restart Status
  41. category: config
  42. icon: "mdi:toggle-switch"
  43. dps:
  44. - id: 39
  45. type: string
  46. name: option
  47. mapping:
  48. - dps_val: 0
  49. value: "Off"
  50. - dps_val: 1
  51. value: "On"
  52. - dps_val: 2
  53. value: Keep state
  54. - id: 42
  55. type: string
  56. name: cycle_time
  57. - id: 43
  58. type: string
  59. name: random_time
  60. - entity: select
  61. name: Light Mode
  62. category: config
  63. icon: "mdi:toggle-switch"
  64. dps:
  65. - id: 40
  66. type: string
  67. name: option
  68. mapping:
  69. - dps_val: relay
  70. value: "Indicate switch on/off"
  71. - dps_val: pos
  72. value: "Indicate switch location"
  73. - dps_val: none
  74. value: Indicator LED off
  75. - entity: lock
  76. name: Child lock
  77. category: config
  78. icon: "mdi:hand-back-right-off"
  79. dps:
  80. - id: 41
  81. type: boolean
  82. name: lock