friedrich_airconditioner.yaml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. name: Air Conditioner
  2. products:
  3. - id: vfdma8hzkgpdkwlm
  4. # https://www.friedrich.com/professional/products/uni-fit
  5. # NB: Tuya calls this "Friedrich Window Unit" but these are
  6. # through-the-wall units
  7. name: Friedrich Uni-Fit Through-the-Wall AC (Models UCT14A30, UCT12A30)
  8. primary_entity:
  9. entity: climate
  10. dps:
  11. - id: 1
  12. type: boolean
  13. name: hvac_mode
  14. mapping:
  15. - dps_val: false
  16. value: "off"
  17. - dps_val: true
  18. constraint: mode
  19. conditions:
  20. - dps_val: cold
  21. value: cool
  22. - dps_val: wet
  23. value: dry
  24. - dps_val: wind
  25. value: fan_only
  26. - dps_val: auto
  27. value: auto
  28. - id: 2
  29. type: integer
  30. name: temperature
  31. unit: F
  32. range:
  33. min: 69
  34. max: 89
  35. - id: 3
  36. type: integer
  37. name: current_temperature
  38. - id: 4
  39. type: string
  40. name: mode
  41. hidden: true
  42. - id: 5
  43. type: integer
  44. name: fan_mode
  45. mapping:
  46. - dps_val: 3
  47. value: low
  48. - dps_val: 2
  49. value: medium
  50. - dps_val: 1
  51. value: high
  52. - dps_val: 4
  53. value: auto
  54. - id: 8
  55. type: boolean
  56. optional: true
  57. name: preset_mode
  58. mapping:
  59. - dps_val: true
  60. value: eco
  61. - dps_val: false
  62. value: comfort
  63. - dps_val: null
  64. value: comfort
  65. hidden: true
  66. secondary_entities:
  67. - entity: switch
  68. name: "Sleep Mode"
  69. icon: "mdi:sleep"
  70. translation_key: sleep
  71. category: config
  72. dps:
  73. - id: 101
  74. type: boolean
  75. name: switch
  76. - entity: sensor
  77. # false is C, true is F
  78. name: "Configured Temperature Unit"
  79. icon: "mdi:thermometer"
  80. category: diagnostic
  81. class: enum
  82. dps:
  83. - id: 102
  84. type: boolean
  85. # for now a read-only diagnostic sensor as changing it is not respected
  86. # by the firmware even though the DP is exposed
  87. name: sensor
  88. optional: true
  89. mapping:
  90. - dps_val: true
  91. value: "°F"
  92. icon: "mdi:temperature-fahrenheit"
  93. icon_priority: 2
  94. - dps_val: false
  95. value: "°C"
  96. icon: "mdi:temperature-celsius"
  97. icon_priority: 2
  98. - entity: sensor
  99. translation_key: status
  100. class: enum
  101. category: diagnostic
  102. dps:
  103. - id: 20
  104. type: bitfield
  105. name: sensor
  106. mapping:
  107. - dps_val: 0
  108. value: Normal
  109. icon: "mdi:check-circle"
  110. icon_priority: 2
  111. - dps_val: E1
  112. value: Fault E1
  113. icon: "mdi:alert-circle"
  114. icon_priority: 2
  115. - dps_val: E2
  116. value: Fault E2
  117. icon: "mdi:alert-circle"
  118. icon_priority: 2
  119. - entity: binary_sensor
  120. class: problem
  121. category: diagnostic
  122. dps:
  123. - id: 20
  124. type: bitfield
  125. name: sensor
  126. mapping:
  127. - dps_val: 0
  128. value: false
  129. - dps_val: E1
  130. value: false
  131. - dps_val: E2
  132. value: false
  133. - value: true
  134. - id: 20
  135. type: bitfield
  136. name: fault_code