cadence_aroma_diffuser.yaml 3.0 KB

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