cadence_aroma_diffuser.yaml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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. name: Volume
  76. icon: "mdi:volume-high"
  77. dps:
  78. - id: 102
  79. type: integer
  80. name: value
  81. unit: "%"
  82. range:
  83. min: 0
  84. max: 30
  85. mapping:
  86. - scale: 0.3
  87. - entity: switch
  88. translation_key: sleep
  89. category: config
  90. dps:
  91. - id: 104
  92. type: boolean
  93. name: switch
  94. - entity: button
  95. name: Previous track
  96. icon: "mdi:skip-backward"
  97. dps:
  98. - id: 106
  99. type: boolean
  100. name: button
  101. optional: true
  102. - entity: button
  103. name: Next track
  104. icon: "mdi:skip-forward"
  105. dps:
  106. - id: 107
  107. type: boolean
  108. name: button
  109. optional: true
  110. - entity: button
  111. name: Play music
  112. icon: "mdi:play"
  113. dps:
  114. - id: 108
  115. type: boolean
  116. name: button
  117. optional: true
  118. - entity: number
  119. translation_key: timer
  120. class: duration
  121. category: config
  122. dps:
  123. - id: 109
  124. type: integer
  125. name: value
  126. unit: min
  127. range:
  128. min: 0
  129. max: 1200
  130. - entity: button
  131. name: Bluetooth pairing
  132. category: config
  133. icon: "mdi:bluetooth-connect"
  134. dps:
  135. - id: 110
  136. type: boolean
  137. name: button
  138. optional: true