cecotec_fan_light.yaml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. name: Fan with light
  2. products:
  3. - id: 9uydeea5iojq3msy
  4. name: Cecotec AQUA CONNECTED
  5. primary_entity:
  6. entity: fan
  7. translation_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: nature
  17. value: nature
  18. - dps_val: sleep
  19. value: sleep
  20. - dps_val: fresh
  21. value: fresh
  22. - dps_val: smart
  23. value: smart
  24. - dps_val: custom
  25. value: custom
  26. - id: 3
  27. name: speed
  28. type: string
  29. range:
  30. min: 1
  31. max: 6
  32. mapping:
  33. - dps_val: "1"
  34. value: 17
  35. - dps_val: "2"
  36. value: 33
  37. - dps_val: "3"
  38. value: 50
  39. - dps_val: "4"
  40. value: 67
  41. - dps_val: "5"
  42. value: 83
  43. - dps_val: "6"
  44. value: 100
  45. - id: 8
  46. name: direction
  47. type: string
  48. secondary_entities:
  49. - entity: light
  50. dps:
  51. - id: 15
  52. type: boolean
  53. name: switch
  54. # I comment this features because that are reported by device but does nothing with it.
  55. #
  56. # {"abilityId":16,"accessMode":"rw","code":"bright_value","description":"","name":"灯光亮度","typeSpec":{"max":100,"min":1,"scale":0,"step":1,"type":"value","typeDefaultValue":1,"unit":""}},
  57. # {"abilityId":17,"accessMode":"rw","code":"temp_value","description":"","name":"灯光色温","typeSpec":{"max":100,"min":0,"scale":0,"step":1,"type":"value","typeDefaultValue":0,"unit":""}},
  58. # {"abilityId":19,"accessMode":"rw","code":"work_mode","description":"","name":"灯光模式","typeSpec":{"range":["white","warm","cold","night"],"type":"enum","typeDefaultValue":"white"}},
  59. #
  60. #
  61. # - id: 16
  62. # type: integer
  63. # name: brightness
  64. # range:
  65. # min: 25
  66. # max: 255
  67. # - id: 17
  68. # type: integer
  69. # name: color_temp
  70. # range:
  71. # min: 0
  72. # max: 255
  73. # - id: 19
  74. # type: string
  75. # name: color_mode
  76. # optional: true
  77. # mapping:
  78. # - dps_val: white
  79. # value: white
  80. # - dps_val: warm
  81. # value: warm
  82. # - dps_val: cold
  83. # value: cold
  84. # - dps_val: night
  85. # value: night
  86. - entity: select
  87. name: timer
  88. icon: "mdi:timer"
  89. dps:
  90. - id: 22
  91. name: option
  92. type: string
  93. mapping:
  94. - dps_val: "cancel"
  95. value: "cancel"
  96. - dps_val: "1h"
  97. value: "1 hours"
  98. - dps_val: "2h"
  99. value: "2 hours"
  100. - dps_val: "3h"
  101. value: "3 hours"
  102. - dps_val: "4h"
  103. value: "4 hours"
  104. - dps_val: "5h"
  105. value: "5 hours"
  106. - dps_val: "6h"
  107. value: "6 hours"
  108. - dps_val: "7h"
  109. value: "7 hours"
  110. - dps_val: "8h"
  111. value: "8 hours"