skyfan_fan_light.yaml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. name: Skyfan DC fan
  2. products:
  3. - id: pktxz1vynowmavuc
  4. name: Skyfan DC fan with light
  5. primary_entity:
  6. entity: fan
  7. translation_only_key: fan_with_presets
  8. dps:
  9. - id: 1
  10. type: boolean
  11. name: switch
  12. - id: 2
  13. type: string
  14. name: preset_mode
  15. mapping:
  16. - dps_val: Normal
  17. value: normal
  18. - dps_val: Nature
  19. value: nature
  20. - dps_val: Sleep
  21. value: sleep
  22. - id: 3
  23. type: integer
  24. name: speed
  25. range:
  26. min: 1
  27. max: 5
  28. - id: 8
  29. type: string
  30. name: direction
  31. secondary_entities:
  32. - entity: light
  33. dps:
  34. - id: 15
  35. type: boolean
  36. name: switch
  37. - id: 16
  38. name: brightness
  39. type: integer
  40. range:
  41. min: 1
  42. max: 5
  43. - id: 19
  44. name: color_temp
  45. type: string
  46. mapping:
  47. - dps_val: Coolwhite
  48. value: 6500
  49. - dps_val: Naturalwhite
  50. value: 4200
  51. - dps_val: Warmwhite
  52. value: 3000
  53. - target_range:
  54. min: 3000
  55. max: 6500
  56. hidden: true
  57. - entity: select
  58. translation_key: timer
  59. category: config
  60. dps:
  61. - id: 22
  62. type: string
  63. name: option
  64. mapping:
  65. - dps_val: cancel
  66. value: "Off"
  67. - dps_val: "1h"
  68. value: "1 hour"
  69. - dps_val: "2h"
  70. value: "2 hours"
  71. - dps_val: "3h"
  72. value: "3 hours"
  73. - dps_val: "4h"
  74. value: "4 hours"
  75. - dps_val: "5h"
  76. value: "5 hours"
  77. - dps_val: "6h"
  78. value: "6 hours"
  79. - dps_val: "7h"
  80. value: "7 hours"
  81. - dps_val: "8h"
  82. value: "8 hours"
  83. - dps_val: "9h"
  84. value: "9 hours"
  85. - dps_val: "10h"
  86. value: "10 hours"
  87. - dps_val: "11h"
  88. value: "11 hours"
  89. - dps_val: "12h"
  90. value: "12 hours"