arlec_6speed_fan.yaml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. name: Arlec floor fan
  2. products:
  3. - id: tsgf7ywzeit2d90b
  4. name: Arlec 45cm black floor fan
  5. entities:
  6. - entity: fan
  7. translation_only_key: fan_with_presets
  8. dps:
  9. - id: 1
  10. name: switch
  11. type: boolean
  12. - id: 2
  13. name: preset_mode
  14. type: string
  15. optional: true
  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: strong
  26. value: strong
  27. - dps_val: closed
  28. value: "off"
  29. - dps_val: ordinary
  30. value: normal
  31. - dps_val: null
  32. value: "off"
  33. - id: 3
  34. name: speed
  35. type: string
  36. mapping:
  37. - dps_val: "1"
  38. value: 17
  39. - dps_val: "2"
  40. value: 33
  41. - dps_val: "3"
  42. value: 50
  43. - dps_val: "4"
  44. value: 67
  45. - dps_val: "5"
  46. value: 83
  47. - dps_val: "6"
  48. value: 100
  49. - id: 101
  50. type: boolean
  51. name: oscillate
  52. - entity: binary_sensor
  53. class: problem
  54. category: diagnostic
  55. dps:
  56. - id: 8
  57. type: bitfield
  58. name: sensor
  59. mapping:
  60. - dps_val: 0
  61. value: false
  62. - value: true
  63. - id: 8
  64. type: bitfield
  65. name: fault_code
  66. - entity: select
  67. translation_key: timer
  68. category: config
  69. dps:
  70. - id: 6
  71. type: string
  72. name: option
  73. mapping:
  74. - dps_val: "0"
  75. value: cancel
  76. - dps_val: "1"
  77. value: "1h"
  78. - dps_val: "2"
  79. value: "2h"
  80. - dps_val: "3"
  81. value: "3h"
  82. - dps_val: "4"
  83. value: "4h"
  84. - dps_val: "5"
  85. value: "5h"
  86. - dps_val: "6"
  87. value: "6h"