friedrich_uct08b10a_airconditioner.yaml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. name: Air conditioner
  2. products:
  3. - id: jvnwkkvvshk3go8f
  4. manufacturer: Friedrich
  5. model: UCT08B10A
  6. entities:
  7. - entity: climate
  8. dps:
  9. - id: 1
  10. type: boolean
  11. name: hvac_mode
  12. mapping:
  13. - dps_val: false
  14. value: "off"
  15. - dps_val: true
  16. constraint: mode
  17. conditions:
  18. - dps_val: cold
  19. value: cool
  20. - dps_val: wet
  21. value: dry
  22. - dps_val: wind
  23. value: fan_only
  24. - dps_val: auto
  25. value: auto
  26. - dps_val: hot
  27. value: heat
  28. hidden: true
  29. - id: 3
  30. type: integer
  31. name: current_temperature_in_c
  32. optional: true
  33. - id: 23
  34. name: current_temperature
  35. type: integer
  36. optional: true
  37. mapping:
  38. - constraint: temperature_unit
  39. conditions:
  40. - dps_val: c
  41. value_redirect: current_temperature_in_c
  42. - id: 24
  43. type: integer
  44. name: temperature
  45. optional: true
  46. unit: F
  47. range:
  48. min: 690
  49. max: 890
  50. mapping:
  51. - scale: 10
  52. step: 10
  53. constraint: temperature_unit
  54. conditions:
  55. - dps_val: c
  56. value_redirect: temperature_in_c
  57. step: 5
  58. - id: 2
  59. name: temperature_in_c
  60. type: integer
  61. optional: true
  62. range:
  63. min: 205
  64. max: 317
  65. mapping:
  66. - scale: 10
  67. step: 5
  68. unit: C
  69. - id: 19
  70. type: string
  71. name: temperature_unit
  72. mapping:
  73. - dps_val: f
  74. value: F
  75. - dps_val: c
  76. value: C
  77. - id: 4
  78. type: string
  79. name: mode
  80. hidden: true
  81. - id: 5
  82. name: fan_mode
  83. type: string
  84. mapping:
  85. # the unit only truly supports 4 speeds: low, med, high, auto
  86. - dps_val: auto
  87. value: auto
  88. - dps_val: low
  89. value: low
  90. - dps_val: mid
  91. value: medium
  92. - dps_val: high
  93. value: high
  94. # the below are all duplicates of some of the above
  95. - dps_val: mute
  96. value: low
  97. hidden: true
  98. - dps_val: mid_low
  99. value: low
  100. hidden: true
  101. - dps_val: mid_high
  102. value: medium
  103. hidden: true
  104. - dps_val: strong
  105. value: high
  106. hidden: true
  107. - id: 123
  108. name: preset_mode
  109. type: hex
  110. mask: "0001"
  111. mapping:
  112. - dps_val: 0
  113. value: comfort
  114. - dps_val: 1
  115. value: eco
  116. - dps_val: null
  117. value: comfort
  118. hidden: true
  119. - id: 128
  120. name: style
  121. type: string
  122. mapping:
  123. - dps_val: "0"
  124. value: wall
  125. - dps_val: "1"
  126. value: floor
  127. - dps_val: "3"
  128. value: through-the-wall
  129. - entity: switch
  130. translation_key: sleep
  131. category: config
  132. dps:
  133. - id: 105
  134. type: string
  135. name: switch
  136. mapping:
  137. # IOT Tuya says these are the 4 values of the enum but only
  138. # OFF and CHILD are supported by the firmware
  139. # "off",
  140. # "normal",
  141. # "old",
  142. # "child"
  143. - dps_val: "child"
  144. value: true
  145. - dps_val: "off"
  146. value: false
  147. - value: true
  148. hidden: true
  149. - entity: binary_sensor
  150. class: problem
  151. category: diagnostic
  152. dps:
  153. - id: 20
  154. type: bitfield
  155. name: sensor
  156. mapping:
  157. - dps_val: 0
  158. value: true
  159. constraint: fault2
  160. conditions:
  161. - dps_val: 0
  162. value: false
  163. - dps_val: null
  164. value: false
  165. - value: true
  166. - id: 20
  167. type: bitfield
  168. name: fault_code
  169. - id: 122
  170. name: fault2
  171. type: bitfield
  172. optional: true
  173. - entity: number
  174. name: Eco temperature
  175. category: config
  176. class: temperature
  177. dps:
  178. - id: 130
  179. name: value
  180. type: integer
  181. unit: C
  182. range:
  183. min: 26
  184. max: 31
  185. optional: true