friedrich_uct08b10a_airconditioner.yaml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. name: Air conditioner
  2. products:
  3. - id: jvnwkkvvshk3go8f
  4. name: Friedrich UCT08B10A
  5. primary_entity:
  6. entity: climate
  7. dps:
  8. - id: 1
  9. type: boolean
  10. name: hvac_mode
  11. mapping:
  12. - dps_val: false
  13. value: "off"
  14. - dps_val: true
  15. constraint: mode
  16. conditions:
  17. - dps_val: cold
  18. value: cool
  19. - dps_val: wet
  20. value: dry
  21. - dps_val: wind
  22. value: fan_only
  23. - dps_val: auto
  24. value: auto
  25. - dps_val: hot
  26. value: heat
  27. hidden: true
  28. - id: 3
  29. type: integer
  30. name: current_temperature_in_c
  31. optional: true
  32. - id: 23
  33. name: current_temperature
  34. type: integer
  35. optional: true
  36. mapping:
  37. - constraint: temperature_unit
  38. conditions:
  39. - dps_val: c
  40. value_redirect: current_temperature_in_c
  41. - id: 24
  42. type: integer
  43. name: temperature
  44. optional: true
  45. unit: F
  46. range:
  47. min: 690
  48. max: 890
  49. mapping:
  50. - scale: 10
  51. step: 10
  52. constraint: temperature_unit
  53. conditions:
  54. - dps_val: c
  55. value_redirect: temperature_in_c
  56. step: 5
  57. - id: 2
  58. name: temperature_in_c
  59. type: integer
  60. optional: true
  61. range:
  62. min: 205
  63. max: 317
  64. mapping:
  65. - scale: 10
  66. step: 5
  67. unit: C
  68. - id: 19
  69. type: string
  70. name: temperature_unit
  71. mapping:
  72. - dps_val: f
  73. value: F
  74. - dps_val: c
  75. value: C
  76. - id: 4
  77. type: string
  78. name: mode
  79. hidden: true
  80. - id: 5
  81. name: fan_mode
  82. type: string
  83. mapping:
  84. # the unit only truly supports 4 speeds: low, med, high, auto
  85. - dps_val: auto
  86. value: auto
  87. - dps_val: low
  88. value: low
  89. - dps_val: mid
  90. value: medium
  91. - dps_val: high
  92. value: high
  93. # the below are all duplicates of some of the above
  94. - dps_val: mute
  95. value: low
  96. hidden: true
  97. - dps_val: mid_low
  98. value: low
  99. hidden: true
  100. - dps_val: mid_high
  101. value: medium
  102. hidden: true
  103. - dps_val: strong
  104. value: high
  105. hidden: true
  106. - id: 123
  107. name: preset_mode
  108. type: hex
  109. mask: "0001"
  110. mapping:
  111. - dps_val: 0
  112. value: comfort
  113. - dps_val: 1
  114. value: eco
  115. - dps_val: null
  116. value: comfort
  117. hidden: true
  118. - id: 128
  119. name: style
  120. type: string
  121. mapping:
  122. - dps_val: "0"
  123. value: wall
  124. - dps_val: "1"
  125. value: floor
  126. - dps_val: "3"
  127. value: through-the-wall
  128. secondary_entities:
  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