cadence_aroma_diffuser.yaml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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,
  47. # so probably a doc error
  48. - id: 105
  49. name: effect
  50. type: boolean
  51. mapping:
  52. - dps_val: false
  53. value: Static
  54. - dps_val: true
  55. value: Rotate
  56. - id: 111
  57. name: control_data
  58. type: string
  59. optional: true
  60. - entity: select
  61. name: Internal music
  62. icon: "mdi:music"
  63. category: config
  64. dps:
  65. - id: 101
  66. type: string
  67. name: option
  68. mapping:
  69. - dps_val: "0"
  70. value: Track 1
  71. - dps_val: "1"
  72. value: Track 2
  73. - dps_val: "2"
  74. value: Track 3
  75. - dps_val: "3"
  76. value: Track 4
  77. - dps_val: "4"
  78. value: Track 5
  79. - dps_val: "5"
  80. value: Track 6
  81. - entity: number
  82. name: Volume
  83. icon: "mdi:volume-high"
  84. dps:
  85. - id: 102
  86. type: integer
  87. name: value
  88. unit: "%"
  89. range:
  90. min: 0
  91. max: 30
  92. mapping:
  93. - scale: 0.3
  94. - entity: switch
  95. name: Sleep timer
  96. icon: "mdi:bed-clock"
  97. category: config
  98. dps:
  99. - id: 104
  100. type: boolean
  101. name: switch
  102. - entity: button
  103. name: Previous track
  104. icon: "mdi:skip-backward"
  105. dps:
  106. - id: 106
  107. type: boolean
  108. name: button
  109. optional: true
  110. - entity: button
  111. name: Next track
  112. icon: "mdi:skip-forward"
  113. dps:
  114. - id: 107
  115. type: boolean
  116. name: button
  117. optional: true
  118. - entity: button
  119. name: Play music
  120. icon: "mdi:play"
  121. dps:
  122. - id: 108
  123. type: boolean
  124. name: button
  125. optional: true
  126. - entity: number
  127. name: Timer
  128. category: config
  129. icon: "mdi:timer"
  130. dps:
  131. - id: 109
  132. type: integer
  133. name: value
  134. unit: min
  135. range:
  136. min: 0
  137. max: 1200
  138. - entity: button
  139. name: Bluetooth pairing
  140. category: config
  141. icon: "mdi:bluetooth-connect"
  142. dps:
  143. - id: 110
  144. type: boolean
  145. name: button
  146. optional: true