snt957w_de_cbu_temp_humidity.yaml 3.2 KB

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