arlec_6speed_fan.yaml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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_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. name: Fault
  58. class: problem
  59. category: diagnostic
  60. dps:
  61. - id: 8
  62. type: bitfield
  63. name: sensor
  64. mapping:
  65. - dps_val: 0
  66. value: false
  67. - value: true
  68. - entity: select
  69. name: Timer
  70. icon: "mdi:timer"
  71. category: config
  72. dps:
  73. - id: 6
  74. type: string
  75. name: option
  76. mapping:
  77. - dps_val: "0"
  78. value: "Off"
  79. - dps_val: "1"
  80. value: "1 hour"
  81. - dps_val: "2"
  82. value: "2 hours"
  83. - dps_val: "3"
  84. value: "3 hours"
  85. - dps_val: "4"
  86. value: "4 hours"
  87. - dps_val: "5"
  88. value: "5 hours"
  89. - dps_val: "6"
  90. value: "6 hours"