moes_threegang.yaml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. name: Triple switch with timer and backlight
  2. products:
  3. - id: m4viuhaiez8qjswh
  4. manufacturer: Moes
  5. entities:
  6. - entity: light
  7. name: "Gang 1"
  8. dps:
  9. - id: 1
  10. name: switch
  11. type: boolean
  12. - entity: light
  13. name: "Gang 2"
  14. dps:
  15. - id: 2
  16. name: switch
  17. type: boolean
  18. - entity: light
  19. name: "Gang 3"
  20. dps:
  21. - id: 3
  22. name: switch
  23. type: boolean
  24. - entity: light
  25. translation_key: backlight
  26. category: config
  27. dps:
  28. - id: 16
  29. name: switch
  30. type: boolean
  31. - entity: number
  32. category: config
  33. class: duration
  34. translation_key: timer_x
  35. translation_placeholders:
  36. x: "1"
  37. dps:
  38. - id: 7
  39. type: integer
  40. name: value
  41. unit: min
  42. range:
  43. min: 0
  44. max: 86400
  45. mapping:
  46. - scale: 60
  47. step: 60
  48. - entity: number
  49. category: config
  50. class: duration
  51. translation_key: timer_x
  52. translation_placeholders:
  53. x: "2"
  54. dps:
  55. - id: 8
  56. type: integer
  57. name: value
  58. unit: min
  59. range:
  60. min: 0
  61. max: 86400
  62. mapping:
  63. - scale: 60
  64. step: 60
  65. - entity: number
  66. category: config
  67. class: duration
  68. translation_key: timer_x
  69. translation_placeholders:
  70. x: "3"
  71. dps:
  72. - id: 9
  73. type: integer
  74. name: value
  75. unit: min
  76. range:
  77. min: 0
  78. max: 86400
  79. mapping:
  80. - scale: 60
  81. step: 60
  82. - entity: select
  83. category: config
  84. translation_key: initial_state
  85. dps:
  86. - id: 14
  87. type: string
  88. name: option
  89. optional: true
  90. mapping:
  91. - dps_val: 0
  92. value: "on"
  93. - dps_val: 1
  94. value: "off"
  95. - dps_val: 2
  96. value: memory