yym_805SW_aroma_nightlight.yaml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. # DPS sample: {'updated_at': 1674433099.9169242, '1': True, '2': 'large',
  2. # '3': '1', '5': True, '6': 'colourful1', '8': '001fff00e8ffff'}
  3. name: Aroma diffuser
  4. products:
  5. - id: c0nh3LmEk0NDebrq
  6. model: YYM-805SW
  7. - id: 4870500398f4abbfbae4
  8. model: GX
  9. - id: kgczidn0awas0prr
  10. manufacturer: Tellur
  11. primary_entity:
  12. entity: fan
  13. dps:
  14. - id: 1
  15. name: switch
  16. type: boolean
  17. mapping:
  18. - dps_val: true
  19. icon: "mdi:scent"
  20. - dps_val: false
  21. icon: "mdi:scent-off"
  22. - id: 2
  23. name: speed
  24. type: string
  25. mapping:
  26. - conditions:
  27. - dps_val:
  28. - large
  29. - small
  30. mapping:
  31. - dps_val: large
  32. value: 100
  33. - dps_val: small
  34. value: 50
  35. - dps_val:
  36. - high
  37. - low
  38. mapping:
  39. - dps_val: high
  40. value: 100
  41. - dps_val: low
  42. value: 50
  43. - id: 9
  44. name: fault_code
  45. type: bitfield
  46. optional: true
  47. secondary_entities:
  48. - entity: light
  49. name: Nightlight
  50. icon: "mdi:light-recessed"
  51. dps:
  52. - id: 5
  53. name: switch
  54. type: boolean
  55. - id: 6
  56. name: color_mode
  57. type: string
  58. mapping:
  59. - dps_val: colour
  60. value: hs
  61. - dps_val: colourful1
  62. value: Colorful
  63. - id: 8
  64. name: rgbhsv
  65. type: hex
  66. format:
  67. - name: r
  68. bytes: 1
  69. - name: g
  70. bytes: 1
  71. - name: b
  72. bytes: 1
  73. - name: h
  74. bytes: 2
  75. range:
  76. min: 0
  77. max: 360
  78. - name: s
  79. bytes: 1
  80. range:
  81. min: 0
  82. max: 255
  83. - name: v
  84. bytes: 1
  85. range:
  86. min: 0
  87. max: 255
  88. - entity: select
  89. name: Timer
  90. icon: "mdi:timer"
  91. category: config
  92. dps:
  93. - id: 3
  94. name: option
  95. type: string
  96. mapping:
  97. - dps_val: "cancel"
  98. value: "Off"
  99. - dps_val: "1"
  100. value: "1 hour"
  101. - dps_val: "3"
  102. value: "3 hours"
  103. - dps_val: "6"
  104. value: "6 hours"
  105. - id: 4
  106. name: remaining
  107. readolny: true
  108. optional: true
  109. type: integer
  110. range:
  111. min: 0
  112. max: 360