friedrich_airconditioner.yaml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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: binary_sensor
  99. class: problem
  100. category: diagnostic
  101. dps:
  102. - id: 20
  103. type: bitfield
  104. name: sensor
  105. mapping:
  106. - dps_val: 0
  107. value: false
  108. - dps_val: E1
  109. value: false
  110. - dps_val: E2
  111. value: false
  112. - value: true
  113. - id: 20
  114. type: bitfield
  115. name: fault_code