snt957w_de_cbu_temp_humidity.yaml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. name: Temperature and humidity sensor
  2. products:
  3. - id: dnoq3j5m9nhxw9a1
  4. model: SNT957W-DE CBU
  5. entities:
  6. - entity: sensor
  7. class: temperature
  8. dps:
  9. - id: 1
  10. name: sensor
  11. type: integer
  12. unit: C
  13. mapping:
  14. - scale: 10
  15. class: measurement
  16. - entity: sensor
  17. class: humidity
  18. dps:
  19. - id: 2
  20. type: integer
  21. name: sensor
  22. unit: "%"
  23. mapping:
  24. - scale: 10
  25. class: measurement
  26. - entity: select
  27. translation_key: temperature_unit
  28. category: config
  29. dps:
  30. - id: 9
  31. name: option
  32. type: string
  33. mapping:
  34. - dps_val: "f"
  35. value: fahrenheit
  36. - dps_val: "c"
  37. value: celsius
  38. optional: true
  39. - entity: number
  40. name: High temperature limit
  41. category: config
  42. class: temperature
  43. icon: "mdi:thermometer-chevron-up"
  44. dps:
  45. - id: 10
  46. type: integer
  47. name: value
  48. unit: C
  49. range:
  50. min: -400
  51. max: 1200
  52. mapping:
  53. - scale: 10
  54. - entity: number
  55. name: Low temperature limit
  56. category: config
  57. class: temperature
  58. icon: "mdi:thermometer-chevron-down"
  59. dps:
  60. - id: 11
  61. type: integer
  62. name: value
  63. unit: C
  64. range:
  65. min: -400
  66. max: 1200
  67. mapping:
  68. - scale: 10
  69. - entity: number
  70. name: High humidity limit
  71. category: config
  72. class: humidity
  73. dps:
  74. - id: 12
  75. type: integer
  76. name: value
  77. unit: "%"
  78. range:
  79. min: 0
  80. max: 1000
  81. mapping:
  82. - scale: 10
  83. - entity: number
  84. name: Low humidity limit
  85. category: config
  86. class: humidity
  87. dps:
  88. - id: 13
  89. type: integer
  90. name: value
  91. unit: "%"
  92. range:
  93. min: 0
  94. max: 1000
  95. mapping:
  96. - scale: 10
  97. - entity: select
  98. name: Temperature alarm
  99. icon: "mdi:thermometer-alert"
  100. category: config
  101. dps:
  102. - id: 14
  103. type: string
  104. name: option
  105. mapping:
  106. - dps_val: loweralarm
  107. value: Low temperature
  108. - dps_val: upperalarm
  109. value: High temperature
  110. - dps_val: cancel
  111. value: Not set
  112. - entity: select
  113. name: Humidity alarm
  114. icon: "mdi:water-percent-alert"
  115. category: config
  116. dps:
  117. - id: 15
  118. type: string
  119. name: option
  120. mapping:
  121. - dps_val: loweralarm
  122. value: Low humidity
  123. - dps_val: upperalarm
  124. value: High humidity
  125. - dps_val: cancel
  126. value: Not set
  127. - entity: number
  128. translation_key: temperature_calibration
  129. category: config
  130. dps:
  131. - id: 23
  132. type: integer
  133. name: value
  134. unit: °
  135. range:
  136. min: -100
  137. max: 100
  138. mapping:
  139. - scale: 10
  140. - entity: number
  141. name: Humidity calibration
  142. category: config
  143. icon: "mdi:arrow-collapse-up"
  144. dps:
  145. - id: 24
  146. type: integer
  147. name: value
  148. unit: "%"
  149. range:
  150. min: -100
  151. max: 100
  152. mapping:
  153. - scale: 10