klarstein_iceblock_airconditioner.yaml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. name: Air conditioner
  2. # products:
  3. # - id: UNKNOWN
  4. # name: Klarstein Iceblock Ecosmart
  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: work_mode
  16. conditions:
  17. - dps_val: "1"
  18. value: cool
  19. - dps_val: "3"
  20. value: dry
  21. - dps_val: "5"
  22. value: fan_only
  23. hidden: true
  24. - id: 2
  25. type: integer
  26. name: temperature
  27. range:
  28. min: 16
  29. max: 31
  30. mapping:
  31. - constraint: temperature_unit
  32. conditions:
  33. - dps_val: true
  34. value_redirect: temp_set_f
  35. range:
  36. min: 62
  37. max: 90
  38. - id: 3
  39. type: integer
  40. name: current_temperature
  41. readonly: true
  42. mapping:
  43. - constraint: temperature_unit
  44. conditions:
  45. - dps_val: true
  46. value_redirect: temp_current_f
  47. - id: 20
  48. name: error
  49. type: bitfield
  50. mapping:
  51. - dps_val: 0
  52. value: "OK"
  53. - id: 101
  54. name: work_mode
  55. type: string
  56. hidden: true
  57. - id: 103
  58. name: preset_mode
  59. type: boolean
  60. mapping:
  61. - dps_val: false
  62. value: none
  63. - dps_val: true
  64. value: sleep
  65. - id: 104
  66. type: string
  67. name: fan_mode
  68. mapping:
  69. - dps_val: "1"
  70. value: high
  71. - dps_val: "3"
  72. value: low
  73. - id: 109
  74. type: boolean
  75. name: temperature_unit
  76. mapping:
  77. - dps_val: true
  78. value: F
  79. - value: C
  80. - id: 110
  81. type: integer
  82. name: temp_set_f
  83. range:
  84. min: 62
  85. max: 90
  86. hidden: true
  87. optional: true
  88. - id: 111
  89. type: integer
  90. name: temp_current_f
  91. hidden: true
  92. optional: true
  93. secondary_entities:
  94. - entity: number
  95. translation_key: timer
  96. category: config
  97. dps:
  98. - id: 105
  99. type: integer
  100. name: value
  101. unit: h
  102. range:
  103. min: 0
  104. max: 24