carson_cb.yaml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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. translation_key: timer
  112. category: config
  113. dps:
  114. - id: 103
  115. type: integer
  116. name: value
  117. unit: h
  118. range:
  119. min: 0
  120. max: 24
  121. - entity: sensor
  122. name: Time remaining
  123. class: duration
  124. category: diagnostic
  125. dps:
  126. - id: 105
  127. type: integer
  128. name: sensor
  129. unit: min
  130. class: measurement
  131. - entity: binary_sensor
  132. name: Fault
  133. class: problem
  134. category: diagnostic
  135. dps:
  136. - id: 106
  137. type: bitfield
  138. name: sensor
  139. mapping:
  140. - dps_val: 0
  141. constraint: fault_code2
  142. conditions:
  143. - dps_val: 0
  144. value: false
  145. - dps_val: null
  146. value: false
  147. value: true
  148. - value: true
  149. - id: 111
  150. type: bitfield
  151. name: fault_code2
  152. optional: true
  153. hidden: true