smart_wifi_socket_Thermostat.yaml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. # Brand name: EZAIOT
  2. # Product link: aliexpress.com/item/1005007122621628.html
  3. name: Smart WiFi Oled socket Thermostat
  4. products:
  5. - id: msclnsfe0q3yd39q
  6. primary_entity:
  7. entity: climate
  8. translation_key: thermostat
  9. dps:
  10. - id: 4
  11. type: string
  12. name: hvac_mode
  13. mapping:
  14. - dps_val: "heat"
  15. value: "heat"
  16. - dps_val: "cool"
  17. value: "cool"
  18. - dps_val: "plug"
  19. value: "off"
  20. - id: 6
  21. type: integer
  22. name: current_temperature
  23. mapping:
  24. - scale: 10
  25. - id: 9
  26. type: integer
  27. name: max_temperature
  28. optional: true
  29. mapping:
  30. - scale: 10
  31. - id: 12
  32. type: integer
  33. name: min_temperature
  34. optional: true
  35. mapping:
  36. - scale: 10
  37. - id: 17
  38. type: integer
  39. name: temperature
  40. unit: C
  41. mapping:
  42. - scale: 10
  43. - id: 114
  44. type: integer
  45. name: hvac_action
  46. mapping:
  47. - dps_val: 0
  48. constraint: hvac_mode
  49. conditions:
  50. - dps_val: false
  51. value: "off"
  52. - dps_val: true
  53. value: idle
  54. - dps_val: 1
  55. constraint: hvac_mode
  56. conditions:
  57. - dps_val: heat
  58. value: heating
  59. - dps_val: cool
  60. value: cooling
  61. secondary_entities:
  62. # Control
  63. # Control relay in plug mode
  64. - entity: switch
  65. name: Relay Control
  66. dps:
  67. - id: 2
  68. name: switch
  69. type: boolean
  70. # Turn on the display on press for timeout time
  71. - entity: button
  72. name: Display On
  73. dps:
  74. - id: 118
  75. name: button
  76. type: boolean
  77. optional: true
  78. # Diagnostics
  79. - entity: binary_sensor
  80. class: power
  81. category: diagnostic
  82. name: Relay status
  83. dps:
  84. - id: 114
  85. type: integer
  86. name: sensor
  87. mapping:
  88. - dps_val: 0
  89. value: false
  90. - dps_val: 1
  91. value: true
  92. # Configuration
  93. # Child Lock
  94. - entity: lock
  95. translation_key: child_lock
  96. category: config
  97. dps:
  98. - id: 110
  99. name: lock
  100. type: boolean
  101. # Display Timeout
  102. - entity: select
  103. name: Display Timeout
  104. icon: "mdi:timer-cog-outline"
  105. category: config
  106. dps:
  107. - id: 117
  108. type: string
  109. name: option
  110. optional: true
  111. mapping:
  112. - dps_val: "15s"
  113. value: "15s"
  114. - dps_val: "30s"
  115. value: "30s"
  116. - dps_val: "60s"
  117. value: "60s"
  118. - dps_val: "120s"
  119. value: "120s"
  120. # High temperature alarm audio
  121. - entity: switch
  122. category: config
  123. name: Audio Alarm High temperature
  124. icon: "mdi:thermometer-alert"
  125. dps:
  126. - id: 8
  127. name: switch
  128. type: boolean
  129. # High temperature alarm setting
  130. - entity: number
  131. name: Alarm Maximum temperature
  132. category: config
  133. icon: "mdi:thermometer-chevron-up"
  134. dps:
  135. - id: 9
  136. type: integer
  137. optional: true
  138. name: value
  139. unit: C
  140. mapping:
  141. - scale: 10
  142. range:
  143. min: -300
  144. max: 1200
  145. # Low temperature alarm audio
  146. - entity: switch
  147. category: config
  148. name: Audio Alarm Low temperature
  149. icon: "mdi:thermometer-alert"
  150. dps:
  151. - id: 11
  152. name: switch
  153. type: boolean
  154. # Low temperature alarm setting
  155. - entity: number
  156. name: Alarm Minimum temperature
  157. category: config
  158. icon: "mdi:thermometer-chevron-down"
  159. dps:
  160. - id: 12
  161. type: integer
  162. optional: true
  163. name: value
  164. unit: C
  165. mapping:
  166. - scale: 10
  167. range:
  168. min: -300
  169. max: 1200
  170. # Cooling Delay
  171. # Delay on
  172. - entity: switch
  173. category: config
  174. name: Cooling Delay
  175. icon: "mdi:pump"
  176. dps:
  177. - id: 13
  178. name: switch
  179. type: boolean
  180. # Delay time (minutes)
  181. - entity: number
  182. name: Cooling Delay time
  183. category: config
  184. icon: "mdi:pump"
  185. dps:
  186. - id: 14
  187. type: integer
  188. optional: true
  189. name: value
  190. unit: min
  191. range:
  192. min: 0
  193. max: 1200
  194. # Frost protection
  195. - entity: switch
  196. category: config
  197. name: Frost protection
  198. icon: "mdi:snowflake-thermometer"
  199. dps:
  200. - id: 113
  201. name: switch
  202. type: boolean
  203. # Difference Hysteresis
  204. - entity: number
  205. name: Hysteresis
  206. category: config
  207. icon: "mdi:thermometer"
  208. mode: "box"
  209. dps:
  210. - id: 111
  211. type: integer
  212. optional: true
  213. name: value
  214. mapping:
  215. - scale: 10
  216. unit: C
  217. range:
  218. min: 0
  219. max: 100
  220. # Temperature correction
  221. - entity: number
  222. name: Temp Correction
  223. category: config
  224. icon: "mdi:thermometer"
  225. mode: "box"
  226. dps:
  227. - id: 18
  228. type: integer
  229. optional: true
  230. name: value
  231. mapping:
  232. - scale: 10
  233. unit: C
  234. range:
  235. min: -150
  236. max: 150
  237. # Brightness
  238. - entity: select
  239. name: Brightness
  240. icon: "mdi:brightness-6"
  241. category: config
  242. dps:
  243. - id: 115
  244. type: string
  245. name: option
  246. optional: true
  247. mapping:
  248. - dps_val: "Low"
  249. value: "Low"
  250. - dps_val: "Middle"
  251. value: "Medium"
  252. - dps_val: "High"
  253. value: "High"
  254. # Last State
  255. - entity: switch
  256. category: config
  257. name: Restore Last State
  258. icon: "mdi:restore"
  259. dps:
  260. - id: 116
  261. name: switch
  262. type: boolean