carson_cb.yaml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. name: Air conditioner
  2. products:
  3. # original product id unknown: Carson CB PA280
  4. - id: 2tgd3qnobb1mcgd9
  5. name: Shinco Yoau YWD1
  6. # also sold as Axelair Tempero CMM3000, Domair Callisto
  7. # (product id may be same or different?)
  8. primary_entity:
  9. entity: climate
  10. dps:
  11. - id: 1
  12. name: hvac_mode
  13. type: boolean
  14. mapping:
  15. - dps_val: false
  16. value: "off"
  17. - dps_val: true
  18. constraint: mode
  19. conditions:
  20. - dps_val: COOL
  21. value: cool
  22. - dps_val: FAN
  23. value: fan_only
  24. - dps_val: DRY
  25. value: dry
  26. - dps_val: HEAT
  27. value: heat
  28. - id: 2
  29. name: temperature
  30. type: integer
  31. range:
  32. min: 16
  33. max: 30
  34. mapping:
  35. - constraint: temperature_unit
  36. conditions:
  37. - dps_val: "F"
  38. range:
  39. min: 60
  40. max: 86
  41. optional: true
  42. - id: 3
  43. name: current_temperature
  44. type: integer
  45. - id: 4
  46. name: mode
  47. type: string
  48. hidden: true
  49. - id: 5
  50. name: fan_mode
  51. type: integer
  52. mapping:
  53. - dps_val: 1
  54. value: low
  55. - dps_val: 2
  56. value: medium
  57. - dps_val: 3
  58. value: high
  59. - id: 19
  60. name: temperature_unit
  61. type: string
  62. - id: 104
  63. name: swing_mode
  64. type: boolean
  65. mapping:
  66. - dps_val: true
  67. value: "vertical"
  68. - dps_val: false
  69. value: "off"
  70. - id: 106
  71. name: fault_code
  72. type: bitfield
  73. - id: 110
  74. name: model_code
  75. type: integer
  76. - id: 111
  77. name: fault_code2
  78. type: bitfield
  79. optional: true
  80. secondary_entities:
  81. - entity: select
  82. name: temperature unit
  83. icon: "mdi:temperature-celsius"
  84. category: config
  85. dps:
  86. - id: 19
  87. type: string
  88. name: option
  89. mapping:
  90. - dps_val: C
  91. value: Celsius
  92. - dps_val: F
  93. value: Fahrenheit
  94. - entity: switch
  95. name: Sleep
  96. icon: "mdi:power-sleep"
  97. dps:
  98. - id: 101
  99. type: boolean
  100. name: switch
  101. optional: true
  102. - entity: binary_sensor
  103. name: Defrosting
  104. class: cold
  105. category: diagnostic
  106. dps:
  107. - id: 102
  108. type: boolean
  109. name: sensor
  110. - entity: number
  111. name: Timer
  112. category: config
  113. icon: "mdi:timer"
  114. dps:
  115. - id: 103
  116. type: integer
  117. name: value
  118. unit: h
  119. range:
  120. min: 0
  121. max: 24
  122. - entity: sensor
  123. name: Time remaining
  124. class: duration
  125. category: diagnostic
  126. dps:
  127. - id: 105
  128. type: integer
  129. name: sensor
  130. unit: min
  131. class: measurement
  132. - entity: binary_sensor
  133. name: Fault
  134. class: problem
  135. category: diagnostic
  136. dps:
  137. - id: 106
  138. type: bitfield
  139. name: sensor
  140. mapping:
  141. - dps_val: 0
  142. constraint: fault_code2
  143. conditions:
  144. - dps_val: 0
  145. value: false
  146. - dps_val: null
  147. value: false
  148. value: true
  149. - value: true
  150. - id: 111
  151. type: bitfield
  152. name: fault_code2
  153. optional: true
  154. hidden: true