minoston_timer_switch.yaml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. name: Timer switch
  2. products:
  3. - id: ae0y7quogjcnzery
  4. manufacturer: Minoston
  5. model: nhT06-WIFI
  6. entities:
  7. - entity: switch
  8. dps:
  9. - id: 1
  10. type: boolean
  11. name: switch
  12. - entity: number
  13. translation_key: timer
  14. class: duration
  15. category: config
  16. dps:
  17. - id: 7
  18. type: integer
  19. name: value
  20. unit: s
  21. range:
  22. min: 0
  23. max: 86400
  24. - entity: number
  25. name: Preset 1 time
  26. class: duration
  27. translation_key: timer
  28. category: config
  29. dps:
  30. - id: 101
  31. type: integer
  32. name: value
  33. unit: s
  34. range:
  35. min: 0
  36. max: 86400
  37. - entity: number
  38. name: Preset 2 time
  39. class: duration
  40. translation_key: timer
  41. category: config
  42. dps:
  43. - id: 102
  44. type: integer
  45. name: value
  46. unit: s
  47. range:
  48. min: 0
  49. max: 86400
  50. - entity: number
  51. name: Preset 3 time
  52. translation_key: timer
  53. class: duration
  54. category: config
  55. dps:
  56. - id: 103
  57. type: integer
  58. name: value
  59. unit: s
  60. range:
  61. min: 0
  62. max: 86400
  63. - entity: number
  64. name: Preset 4 time
  65. class: duration
  66. translation_key: timer
  67. category: config
  68. dps:
  69. - id: 104
  70. type: integer
  71. name: value
  72. unit: s
  73. range:
  74. min: 0
  75. max: 86400
  76. - entity: number
  77. name: Preset 5 time
  78. class: duration
  79. translation_key: timer
  80. category: config
  81. dps:
  82. - id: 105
  83. type: integer
  84. name: value
  85. unit: s
  86. range:
  87. min: 0
  88. max: 86400
  89. - entity: number
  90. name: Preset 6 time
  91. class: duration
  92. translation_key: timer
  93. category: config
  94. dps:
  95. - id: 106
  96. type: integer
  97. name: value
  98. unit: s
  99. range:
  100. min: 0
  101. max: 86400
  102. - entity: light
  103. translation_key: indicator
  104. category: config
  105. dps:
  106. - id: 107
  107. name: brightness
  108. type: integer
  109. range:
  110. min: 0
  111. max: 100
  112. - entity: sensor
  113. name: Active timer
  114. class: enum
  115. category: diagnostic
  116. dps:
  117. - id: 108
  118. type: integer
  119. name: sensor
  120. mapping:
  121. - dps_val: 0
  122. value: None
  123. - dps_val: 1
  124. value: Preset 1
  125. - dps_val: 2
  126. value: Preset 2
  127. - dps_val: 3
  128. value: Preset 3
  129. - dps_val: 4
  130. value: Preset 4
  131. - dps_val: 5
  132. value: Preset 5
  133. - dps_val: 6
  134. value: Preset 6
  135. - entity: select
  136. name: Power indicator
  137. icon: "mdi:led-on"
  138. category: config
  139. dps:
  140. - id: 109
  141. type: string
  142. name: option
  143. mapping:
  144. - dps_val: "on"
  145. value: Solid
  146. - dps_val: flicker
  147. value: Blink
  148. - entity: select
  149. name: Timer indicator
  150. icon: "mdi:led-on"
  151. category: config
  152. dps:
  153. - id: 110
  154. type: string
  155. name: option
  156. mapping:
  157. - dps_val: "on"
  158. value: Solid
  159. - dps_val: flicker
  160. value: Blink
  161. - entity: switch
  162. name: Override
  163. dps:
  164. - id: 111
  165. type: boolean
  166. name: switch