atomi_ceiling_fan.yaml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. name: Ceiling fan
  2. products:
  3. - id: keyxcgdguks9shua
  4. name: Atomi 52 inch ceiling fan
  5. primary_entity:
  6. entity: fan
  7. translation_key: fan_with_presets
  8. dps:
  9. - id: 60
  10. type: boolean
  11. name: switch
  12. - id: 61
  13. type: string
  14. name: preset_mode
  15. mapping:
  16. - dps_val: fresh
  17. value: fresh
  18. - dps_val: nature
  19. value: nature
  20. - id: 64
  21. type: integer
  22. name: speed
  23. range:
  24. min: 0
  25. max: 3
  26. mapping:
  27. - scale: 0.03
  28. - id: 71
  29. type: string
  30. name: unknown_71
  31. secondary_entities:
  32. - entity: light
  33. name: Light
  34. dps:
  35. - id: 20
  36. type: boolean
  37. name: switch
  38. - id: 21
  39. # docs give the standard white, colour, scene, music values, but this
  40. # device does not have color or scene dps, so just leave it for monitoring
  41. name: work_mode
  42. type: string
  43. - id: 22
  44. name: brightness
  45. type: integer
  46. range:
  47. min: 10
  48. max: 1000
  49. mapping:
  50. - scale: 3.92
  51. - id: 23
  52. name: color_temp
  53. type: integer
  54. range:
  55. min: 0
  56. max: 1000
  57. mapping:
  58. - target_range:
  59. min: 2700
  60. max: 6500
  61. - entity: number
  62. name: Light timer
  63. category: config
  64. icon: "mdi:timer"
  65. dps:
  66. - id: 26
  67. type: integer
  68. name: value
  69. unit: min
  70. range:
  71. min: 0
  72. max: 86400
  73. mapping:
  74. - scale: 60
  75. step: 60
  76. - entity: switch
  77. name: Do not disturb
  78. category: config
  79. dps:
  80. - id: 34
  81. type: boolean
  82. name: switch