arlec_6speed_fan.yaml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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. 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. translation_key: timer
  70. category: config
  71. dps:
  72. - id: 6
  73. type: string
  74. name: option
  75. mapping:
  76. - dps_val: "0"
  77. value: "Off"
  78. - dps_val: "1"
  79. value: "1 hour"
  80. - dps_val: "2"
  81. value: "2 hours"
  82. - dps_val: "3"
  83. value: "3 hours"
  84. - dps_val: "4"
  85. value: "4 hours"
  86. - dps_val: "5"
  87. value: "5 hours"
  88. - dps_val: "6"
  89. value: "6 hours"