atomi_ceiling_fan.yaml 1.6 KB

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