protech_pt19dw_climateclock.yaml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. name: Climate sensor clock
  2. products:
  3. - id: vzsjt2vxirsibm6s
  4. manufacturer: Protmex
  5. model: PT19DTW
  6. entities:
  7. - entity: sensor
  8. class: temperature
  9. dps:
  10. - id: 1
  11. type: integer
  12. name: sensor
  13. class: measurement
  14. mapping:
  15. - scale: 10
  16. - id: 9
  17. type: string
  18. name: unit
  19. mapping:
  20. - dps_val: c
  21. value: C
  22. - dps_val: f
  23. value: F
  24. - entity: sensor
  25. class: humidity
  26. category: diagnostic
  27. dps:
  28. - id: 2
  29. type: integer
  30. name: sensor
  31. unit: "%"
  32. class: measurement
  33. mapping:
  34. - scale: 10
  35. - entity: sensor
  36. class: battery
  37. category: diagnostic
  38. dps:
  39. - id: 4
  40. type: integer
  41. name: sensor
  42. unit: "%"
  43. class: measurement
  44. - entity: select
  45. translation_key: temperature_unit
  46. category: config
  47. dps:
  48. - id: 9
  49. type: string
  50. name: option
  51. mapping:
  52. - dps_val: c
  53. value: celsius
  54. - dps_val: f
  55. value: fahrenheit
  56. - entity: select
  57. name: Time format
  58. icon: "mdi:clock"
  59. category: config
  60. dps:
  61. - id: 101
  62. type: string
  63. name: option
  64. mapping:
  65. - dps_val: "0"
  66. value: "12h"
  67. - dps_val: "1"
  68. value: "24h"
  69. - id: 107
  70. type: string
  71. optional: true
  72. name: realtime
  73. - entity: light
  74. translation_key: backlight
  75. category: config
  76. dps:
  77. - id: 103
  78. type: boolean
  79. name: switch
  80. - entity: sensor
  81. name: Comfort
  82. translation_key: air_quality
  83. class: enum
  84. category: diagnostic
  85. dps:
  86. - id: 105
  87. type: integer
  88. name: sensor
  89. mapping:
  90. - dps_val: 1
  91. value: good
  92. - dps_val: 2
  93. value: moderate
  94. - dps_val: 3
  95. value: poor
  96. - entity: switch
  97. name: Alarm
  98. icon: "mdi:alarm"
  99. category: config
  100. dps:
  101. - id: 106
  102. type: string
  103. optional: true
  104. name: switch
  105. mapping:
  106. - dps_val: "0"
  107. value: false
  108. - dps_val: "1"
  109. value: true
  110. - dps_val: null
  111. value: false
  112. hidden: true
  113. - id: 102
  114. type: string
  115. optional: true
  116. name: alarm
  117. - entity: number
  118. name: Maximum temperature
  119. category: config
  120. class: temperature
  121. icon: "mdi:thermometer-chevron-up"
  122. dps:
  123. - id: 108
  124. type: integer
  125. name: value
  126. range:
  127. min: -400
  128. max: 1000
  129. mapping:
  130. - scale: 10
  131. - id: 9
  132. type: string
  133. name: unit
  134. mapping:
  135. - dps_val: c
  136. value: C
  137. - dps_val: f
  138. value: F
  139. - entity: number
  140. name: Minimum temperature
  141. class: temperature
  142. category: config
  143. icon: "mdi:thermometer-chevron-down"
  144. dps:
  145. - id: 109
  146. type: integer
  147. name: value
  148. range:
  149. min: -400
  150. max: 1000
  151. mapping:
  152. - scale: 10
  153. - id: 9
  154. type: string
  155. name: unit
  156. mapping:
  157. - dps_val: c
  158. value: C
  159. - dps_val: f
  160. value: F
  161. - entity: number
  162. name: Maximum humidity
  163. class: humidity
  164. category: config
  165. dps:
  166. - id: 110
  167. type: integer
  168. name: value
  169. unit: "%"
  170. range:
  171. min: 0
  172. max: 1000
  173. mapping:
  174. - scale: 10
  175. - entity: number
  176. name: Minimum humidity
  177. class: humidity
  178. category: config
  179. dps:
  180. - id: 111
  181. type: integer
  182. name: value
  183. unit: "%"
  184. range:
  185. min: 0
  186. max: 1000
  187. mapping:
  188. - scale: 10