YX-025WB_aroma_diffuser.yaml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. name: Aroma diffuser
  2. products:
  3. - id: yishet3p12fvohmd
  4. name: Aroma YX-025WB
  5. primary_entity:
  6. entity: fan
  7. icon: "mdi:scent"
  8. dps:
  9. - id: 2
  10. name: switch
  11. optional: true
  12. type: boolean
  13. mapping:
  14. - dps_val: false
  15. icon: "mdi:scent-off"
  16. - dps_val: true
  17. icon: "mdi:scent"
  18. - id: 3
  19. type: string
  20. optional: true
  21. name: preset_mode
  22. mapping:
  23. - dps_val: small
  24. - dps_val: large
  25. - dps_val: interval
  26. secondary_entities:
  27. - entity: light
  28. icon: "mdi:light-recessed"
  29. dps:
  30. - id: 7
  31. name: switch
  32. optional: true
  33. type: boolean
  34. - id: 9
  35. name: color_mode
  36. optional: true
  37. type: string
  38. mapping:
  39. - dps_val: colour
  40. value: hs
  41. - dps_val: colourful1
  42. value: Colorful
  43. - id: 8
  44. name: brightness
  45. optional: true
  46. type: integer
  47. range:
  48. min: 0
  49. max: 255
  50. - id: 10
  51. name: rgbhsv
  52. optional: true
  53. type: hex
  54. format:
  55. - name: r
  56. bytes: 1
  57. - name: g
  58. bytes: 1
  59. - name: b
  60. bytes: 1
  61. - name: h
  62. bytes: 2
  63. range:
  64. min: 0
  65. max: 360
  66. - name: s
  67. bytes: 1
  68. range:
  69. min: 0
  70. max: 255
  71. - name: v
  72. bytes: 1
  73. range:
  74. min: 0
  75. max: 255
  76. - entity: binary_sensor
  77. class: problem
  78. category: diagnostic
  79. dps:
  80. - id: 11
  81. type: bitfield
  82. name: sensor
  83. optional: true
  84. - entity: select
  85. translation_key: timer
  86. category: config
  87. dps:
  88. - id: 4
  89. type: string
  90. name: option
  91. optional: true
  92. mapping:
  93. - dps_val: 2h
  94. value: "2 hours"
  95. - dps_val: 4h
  96. value: "4 hours"
  97. - dps_val: cancel
  98. value: "None"
  99. - entity: sensor
  100. translation_key: time_remaining
  101. class: duration
  102. category: diagnostic
  103. dps:
  104. - id: 5
  105. type: integer
  106. name: sensor
  107. unit: min
  108. optional: true
  109. range:
  110. min: 0
  111. max: 360