moes_quad_switch.yaml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. name: Quad switch
  2. products:
  3. - id: mwiiltjyanw48oxm
  4. manufacturer: Moes
  5. model: MS-104D
  6. entities:
  7. - entity: switch
  8. translation_key: switch_x
  9. translation_placeholders:
  10. x: "1"
  11. dps:
  12. - id: 1
  13. type: boolean
  14. name: switch
  15. - id: 44
  16. type: string
  17. name: inching
  18. - id: 48
  19. type: string
  20. name: interlock
  21. optional: true
  22. - entity: switch
  23. translation_key: switch_x
  24. translation_placeholders:
  25. x: "2"
  26. dps:
  27. - id: 2
  28. type: boolean
  29. name: switch
  30. - entity: switch
  31. translation_key: switch_x
  32. translation_placeholders:
  33. x: "3"
  34. dps:
  35. - id: 3
  36. type: boolean
  37. name: switch
  38. - entity: switch
  39. translation_key: switch_x
  40. translation_placeholders:
  41. x: "4"
  42. dps:
  43. - id: 4
  44. type: boolean
  45. name: switch
  46. - entity: number
  47. category: config
  48. class: duration
  49. translation_key: timer_x
  50. translation_placeholders:
  51. x: "1"
  52. dps:
  53. - id: 9
  54. type: integer
  55. name: value
  56. unit: min
  57. range:
  58. min: 0
  59. max: 86400
  60. mapping:
  61. - scale: 60
  62. step: 60
  63. - id: 42
  64. type: string
  65. name: random_timer
  66. - id: 43
  67. type: string
  68. name: cycle_timer
  69. - entity: number
  70. category: config
  71. class: duration
  72. translation_key: timer_x
  73. translation_placeholders:
  74. x: "2"
  75. dps:
  76. - id: 10
  77. type: integer
  78. name: value
  79. unit: min
  80. range:
  81. min: 0
  82. max: 86400
  83. mapping:
  84. - scale: 60
  85. step: 60
  86. - entity: number
  87. category: config
  88. class: duration
  89. translation_key: timer_x
  90. translation_placeholders:
  91. x: "3"
  92. dps:
  93. - id: 11
  94. type: integer
  95. name: value
  96. unit: min
  97. range:
  98. min: 0
  99. max: 86400
  100. mapping:
  101. - scale: 60
  102. step: 60
  103. - entity: number
  104. category: config
  105. class: duration
  106. translation_key: timer_x
  107. translation_placeholders:
  108. x: "4"
  109. dps:
  110. - id: 12
  111. type: integer
  112. name: value
  113. unit: min
  114. range:
  115. min: 0
  116. max: 86400
  117. mapping:
  118. - scale: 60
  119. step: 60
  120. - entity: select
  121. translation_key: initial_state
  122. category: config
  123. dps:
  124. - id: 38
  125. type: string
  126. name: option
  127. mapping:
  128. - dps_val: "off"
  129. value: "off"
  130. - dps_val: "on"
  131. value: "on"
  132. - dps_val: memory
  133. value: memory
  134. - entity: select
  135. name: Switch type
  136. icon: "mdi:toggle-switch"
  137. category: config
  138. dps:
  139. - id: 47
  140. type: string
  141. name: option
  142. mapping:
  143. - dps_val: flip
  144. value: Flip
  145. - dps_val: sync
  146. value: Synchronised
  147. - dps_val: button
  148. value: Button