cecotec_fan_light.yaml 2.9 KB

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