carson_cb.yaml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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. translation_key: temperature_unit
  83. category: config
  84. dps:
  85. - id: 19
  86. type: string
  87. name: option
  88. mapping:
  89. - dps_val: C
  90. value: celsius
  91. - dps_val: F
  92. value: fahrenheit
  93. - entity: switch
  94. name: Sleep
  95. icon: "mdi:power-sleep"
  96. dps:
  97. - id: 101
  98. type: boolean
  99. name: switch
  100. optional: true
  101. - entity: binary_sensor
  102. translation_key: defrost
  103. category: diagnostic
  104. dps:
  105. - id: 102
  106. type: boolean
  107. name: sensor
  108. - entity: number
  109. translation_key: timer
  110. category: config
  111. dps:
  112. - id: 103
  113. type: integer
  114. name: value
  115. unit: h
  116. range:
  117. min: 0
  118. max: 24
  119. - entity: sensor
  120. translation_key: time_remaining
  121. class: duration
  122. category: diagnostic
  123. dps:
  124. - id: 105
  125. type: integer
  126. name: sensor
  127. unit: min
  128. class: measurement
  129. - entity: binary_sensor
  130. class: problem
  131. category: diagnostic
  132. dps:
  133. - id: 106
  134. type: bitfield
  135. name: sensor
  136. mapping:
  137. - dps_val: 0
  138. constraint: fault_code2
  139. conditions:
  140. - dps_val: 0
  141. value: false
  142. - dps_val: null
  143. value: false
  144. value: true
  145. - value: true
  146. - id: 111
  147. type: bitfield
  148. name: fault_code2
  149. optional: true
  150. hidden: true