royal_airconditioner.yaml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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: 20
  57. name: fault_code
  58. type: bitfield
  59. - id: 102
  60. name: preset_mode
  61. type: boolean
  62. mapping:
  63. - dps_val: true
  64. value: boost
  65. - dps_val: false
  66. constraint: preset_mode_eco
  67. conditions:
  68. - dps_val: true
  69. value: eco
  70. - dps_val: false
  71. value: comfort
  72. - id: 104
  73. name: swing_mode
  74. type: boolean
  75. mapping:
  76. - dps_val: true
  77. constraint: swing_horiz
  78. conditions:
  79. - dps_val: true
  80. value: both
  81. - dps_val: false
  82. value: vertical
  83. - dps_val: false
  84. constraint: swing_horiz
  85. conditions:
  86. - dps_val: true
  87. value: horizontal
  88. - dps_val: false
  89. value: "off"
  90. - id: 105
  91. name: swing_horiz
  92. type: boolean
  93. hidden: true
  94. - id: 103
  95. name: temperature_unit
  96. type: boolean
  97. mapping:
  98. - dps_val: true
  99. value: "F"
  100. - dps_val: false
  101. value: "C"
  102. secondary_entities:
  103. - entity: select
  104. translation_key: temperature_unit
  105. category: config
  106. dps:
  107. - id: 103
  108. type: boolean
  109. name: option
  110. mapping:
  111. - dps_val: true
  112. value: fahrenheit
  113. - dps_val: false
  114. value: celsius
  115. - entity: switch
  116. name: Sleep mode
  117. icon: "mdi:power-sleep"
  118. dps:
  119. - id: 101
  120. name: switch
  121. type: boolean
  122. - entity: binary_sensor
  123. class: problem
  124. category: diagnostic
  125. dps:
  126. - id: 20
  127. type: bitfield
  128. name: sensor
  129. mapping:
  130. - dps_val: 0
  131. value: false
  132. - value: true