royal_airconditioner.yaml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. name: Air conditioner
  2. products:
  3. - id: 32888820e868e76dda37
  4. name: Royal Sovereign RSAI-12SA mini split AC
  5. primary_entity:
  6. entity: climate
  7. dps:
  8. - id: 1
  9. name: hvac_mode
  10. type: boolean
  11. mapping:
  12. - dps_val: false
  13. value: "off"
  14. - dps_val: true
  15. constraint: mode
  16. conditions:
  17. - dps_val: auto
  18. value: heat_cool
  19. - dps_val: cold
  20. value: cool
  21. - dps_val: wind
  22. value: fan_only
  23. - dps_val: wet
  24. value: dry
  25. - dps_val: hot
  26. value: heat
  27. - id: 2
  28. name: temperature
  29. type: integer
  30. range:
  31. min: 16
  32. max: 31
  33. - id: 3
  34. name: current_temperature
  35. type: integer
  36. - id: 4
  37. name: mode
  38. type: string
  39. hidden: true
  40. - id: 5
  41. name: fan_mode
  42. type: string
  43. mapping:
  44. - dps_val: "0"
  45. value: auto
  46. - dps_val: "3"
  47. value: low
  48. - dps_val: "2"
  49. value: medium
  50. - dps_val: "1"
  51. value: high
  52. - id: 8
  53. name: preset_mode_eco
  54. type: boolean
  55. hidden: true
  56. - id: 102
  57. name: preset_mode
  58. type: boolean
  59. mapping:
  60. - dps_val: true
  61. value: boost
  62. - dps_val: false
  63. constraint: preset_mode_eco
  64. conditions:
  65. - dps_val: true
  66. value: eco
  67. - dps_val: false
  68. value: comfort
  69. - id: 104
  70. name: swing_mode
  71. type: boolean
  72. mapping:
  73. - dps_val: true
  74. constraint: swing_horiz
  75. conditions:
  76. - dps_val: true
  77. value: both
  78. - dps_val: false
  79. value: vertical
  80. - dps_val: false
  81. constraint: swing_horiz
  82. conditions:
  83. - dps_val: true
  84. value: horizontal
  85. - dps_val: false
  86. value: "off"
  87. - id: 105
  88. name: swing_horiz
  89. type: boolean
  90. hidden: true
  91. - id: 103
  92. name: temperature_unit
  93. type: boolean
  94. mapping:
  95. - dps_val: true
  96. value: "F"
  97. - dps_val: false
  98. value: "C"
  99. secondary_entities:
  100. - entity: select
  101. translation_key: temperature_unit
  102. category: config
  103. dps:
  104. - id: 103
  105. type: boolean
  106. name: option
  107. mapping:
  108. - dps_val: true
  109. value: fahrenheit
  110. - dps_val: false
  111. value: celsius
  112. - entity: switch
  113. translation_key: sleep
  114. dps:
  115. - id: 101
  116. name: switch
  117. type: boolean
  118. - entity: binary_sensor
  119. class: problem
  120. category: diagnostic
  121. dps:
  122. - id: 20
  123. type: bitfield
  124. name: sensor
  125. mapping:
  126. - dps_val: 0
  127. value: false
  128. - value: true
  129. - id: 20
  130. name: fault_code
  131. type: bitfield