cadence_aroma_diffuser.yaml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. name: Aroma diffuser
  2. products:
  3. - id: 1sim2gu7dd5rh3j3
  4. manufacturer: Cadence
  5. name: Ultrasonic aroma diffuser
  6. entities:
  7. - entity: fan
  8. translation_key: aroma_diffuser
  9. dps:
  10. - id: 2
  11. name: switch
  12. type: boolean
  13. - id: 103
  14. name: preset_mode
  15. type: string
  16. mapping:
  17. - dps_val: continued
  18. value: continuous
  19. - dps_val: indirect
  20. value: intermittent
  21. - entity: switch
  22. name: Power
  23. category: config
  24. dps:
  25. - id: 1
  26. type: boolean
  27. name: switch
  28. - entity: light
  29. dps:
  30. - id: 7
  31. type: boolean
  32. name: switch
  33. - id: 8
  34. name: brightness
  35. type: integer
  36. range:
  37. min: 10
  38. max: 1000
  39. # 10: rgbhsv, but not present in log and no color_mode to select it,
  40. # so probably a doc error
  41. - id: 105
  42. name: effect
  43. type: boolean
  44. mapping:
  45. - dps_val: false
  46. value: Static
  47. - dps_val: true
  48. value: Rotate
  49. - id: 111
  50. name: control_data
  51. type: string
  52. optional: true
  53. - entity: select
  54. name: Internal music
  55. icon: "mdi:music"
  56. category: config
  57. dps:
  58. - id: 101
  59. type: string
  60. name: option
  61. mapping:
  62. - dps_val: "0"
  63. value: Track 1
  64. - dps_val: "1"
  65. value: Track 2
  66. - dps_val: "2"
  67. value: Track 3
  68. - dps_val: "3"
  69. value: Track 4
  70. - dps_val: "4"
  71. value: Track 5
  72. - dps_val: "5"
  73. value: Track 6
  74. - entity: number
  75. translation_key: volume
  76. dps:
  77. - id: 102
  78. type: integer
  79. name: value
  80. unit: "%"
  81. range:
  82. min: 0
  83. max: 30
  84. mapping:
  85. - scale: 0.3
  86. - entity: switch
  87. translation_key: sleep
  88. category: config
  89. dps:
  90. - id: 104
  91. type: boolean
  92. name: switch
  93. - entity: button
  94. name: Previous track
  95. icon: "mdi:skip-backward"
  96. dps:
  97. - id: 106
  98. type: boolean
  99. name: button
  100. optional: true
  101. - entity: button
  102. name: Next track
  103. icon: "mdi:skip-forward"
  104. dps:
  105. - id: 107
  106. type: boolean
  107. name: button
  108. optional: true
  109. - entity: button
  110. name: Play music
  111. icon: "mdi:play"
  112. dps:
  113. - id: 108
  114. type: boolean
  115. name: button
  116. optional: true
  117. - entity: number
  118. translation_key: timer
  119. class: duration
  120. category: config
  121. dps:
  122. - id: 109
  123. type: integer
  124. name: value
  125. unit: min
  126. range:
  127. min: 0
  128. max: 1200
  129. - entity: button
  130. name: Bluetooth pairing
  131. category: config
  132. icon: "mdi:bluetooth-connect"
  133. dps:
  134. - id: 110
  135. type: boolean
  136. name: button
  137. optional: true