loratap_relay.yaml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. translation_key: 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. translation_key: child_lock
  77. category: config
  78. dps:
  79. - id: 41
  80. type: boolean
  81. name: lock