globe_ceilingfanrgbcwlight.yaml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. name: Ceiling fan
  2. products:
  3. - id: twyyic5gptzkhbav
  4. manufacturer: Globe
  5. model: 27109-U
  6. entities:
  7. - entity: fan
  8. icon: "mdi:ceiling-fan"
  9. translation_only_key: fan_with_presets
  10. dps:
  11. - id: 107
  12. type: boolean
  13. name: switch
  14. - id: 106
  15. type: string
  16. name: preset_mode
  17. mapping:
  18. - dps_val: sleep
  19. value: sleep
  20. - dps_val: nature
  21. value: nature
  22. - id: 105
  23. type: integer
  24. name: speed
  25. range:
  26. min: 1
  27. max: 6
  28. - id: 104
  29. type: string
  30. name: direction
  31. - entity: light
  32. icon: "mdi:ceiling-fan-light"
  33. dps:
  34. - id: 20
  35. type: boolean
  36. name: switch
  37. - id: 21
  38. name: color_mode
  39. type: string
  40. mapping:
  41. - dps_val: white
  42. value: color_temp
  43. - dps_val: colour
  44. value: hs
  45. - dps_val: scene
  46. value: Scene
  47. - id: 22
  48. name: brightness
  49. type: integer
  50. range:
  51. min: 10
  52. max: 1000
  53. - id: 23
  54. name: color_temp
  55. type: integer
  56. range:
  57. min: 0
  58. max: 1000
  59. mapping:
  60. - target_range:
  61. min: 2000
  62. max: 5000
  63. - id: 24
  64. name: rgbhsv
  65. type: hex
  66. format:
  67. - name: h
  68. bytes: 2
  69. range:
  70. min: 0
  71. max: 360
  72. - name: s
  73. bytes: 2
  74. range:
  75. min: 0
  76. max: 1000
  77. - name: v
  78. bytes: 2
  79. range:
  80. min: 0
  81. max: 1000
  82. - entity: switch
  83. translation_key: do_not_disturb
  84. category: config
  85. dps:
  86. - id: 34
  87. type: boolean
  88. name: switch
  89. - entity: switch
  90. translation_key: nightlight
  91. dps:
  92. - id: 53
  93. type: boolean
  94. name: switch
  95. - entity: time
  96. name: Light timer
  97. translation_key: timer
  98. category: config
  99. dps:
  100. - id: 26
  101. type: integer
  102. optional: true
  103. name: second
  104. range:
  105. min: 0
  106. max: 86400
  107. - entity: time
  108. name: Fan timer
  109. translation_key: timer
  110. category: config
  111. dps:
  112. - id: 103
  113. type: integer
  114. optional: true
  115. name: second
  116. range:
  117. min: 0
  118. max: 86400