cadence_aroma_diffuser.yaml 2.9 KB

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