arlec_6speed_fan.yaml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. name: Arlec floor fan
  2. products:
  3. - id: tsgf7ywzeit2d90b
  4. name: Arlec 45cm black floor fan
  5. primary_entity:
  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. - id: 8
  53. type: bitfield
  54. name: fault_code
  55. secondary_entities:
  56. - entity: binary_sensor
  57. class: problem
  58. category: diagnostic
  59. dps:
  60. - id: 8
  61. type: bitfield
  62. name: sensor
  63. mapping:
  64. - dps_val: 0
  65. value: false
  66. - value: true
  67. - entity: select
  68. translation_key: timer
  69. category: config
  70. dps:
  71. - id: 6
  72. type: string
  73. name: option
  74. mapping:
  75. - dps_val: "0"
  76. value: cancel
  77. - dps_val: "1"
  78. value: "1h"
  79. - dps_val: "2"
  80. value: "2h"
  81. - dps_val: "3"
  82. value: "3h"
  83. - dps_val: "4"
  84. value: "4h"
  85. - dps_val: "5"
  86. value: "5h"
  87. - dps_val: "6"
  88. value: "6h"