novadigital_quad_switch.yaml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. # Example DPS Status
  2. # {'dps': {'1': True, '2': True, '3': True, '4': True, '7': 0, '8': 0, '9': 0,
  3. # '10': 0, '14': '0', '16': True}}
  4. name: Quad switch
  5. products:
  6. - id: 6u3rzfddlfajqvn5
  7. manufacturer: Novadigital
  8. entities:
  9. - entity: switch
  10. translation_key: switch_x
  11. translation_placeholders:
  12. x: "1"
  13. dps:
  14. - id: 1
  15. name: switch
  16. type: boolean
  17. - entity: switch
  18. translation_key: switch_x
  19. translation_placeholders:
  20. x: "2"
  21. dps:
  22. - id: 2
  23. name: switch
  24. type: boolean
  25. - entity: switch
  26. translation_key: switch_x
  27. translation_placeholders:
  28. x: "3"
  29. dps:
  30. - id: 3
  31. name: switch
  32. type: boolean
  33. - entity: switch
  34. translation_key: switch_x
  35. translation_placeholders:
  36. x: "4"
  37. dps:
  38. - id: 4
  39. name: switch
  40. type: boolean
  41. - entity: number
  42. category: config
  43. class: duration
  44. translation_key: timer_x
  45. translation_placeholders:
  46. x: "1"
  47. dps:
  48. - id: 7
  49. name: value
  50. type: integer
  51. unit: min
  52. range:
  53. min: 0
  54. max: 86400
  55. mapping:
  56. - scale: 60
  57. step: 60
  58. - entity: number
  59. category: config
  60. class: duration
  61. translation_key: timer_x
  62. translation_placeholders:
  63. x: "2"
  64. dps:
  65. - id: 8
  66. name: value
  67. type: integer
  68. unit: min
  69. range:
  70. min: 0
  71. max: 86400
  72. mapping:
  73. - scale: 60
  74. step: 60
  75. - entity: number
  76. category: config
  77. class: duration
  78. translation_key: timer_x
  79. translation_placeholders:
  80. x: "3"
  81. dps:
  82. - id: 9
  83. name: value
  84. type: integer
  85. unit: min
  86. range:
  87. min: 0
  88. max: 86400
  89. mapping:
  90. - scale: 60
  91. step: 60
  92. - entity: number
  93. category: config
  94. class: duration
  95. translation_key: timer_x
  96. translation_placeholders:
  97. x: "4"
  98. dps:
  99. - id: 10
  100. name: value
  101. type: integer
  102. unit: min
  103. range:
  104. min: 0
  105. max: 86400
  106. mapping:
  107. - scale: 60
  108. step: 60
  109. - entity: select
  110. category: config
  111. translation_key: initial_state
  112. dps:
  113. - id: 14
  114. name: option
  115. type: string
  116. mapping:
  117. - dps_val: 0
  118. value: "off"
  119. - dps_val: 1
  120. value: "on"
  121. - dps_val: 2
  122. value: memory
  123. optional: true
  124. force: true
  125. - entity: light
  126. translation_key: backlight
  127. category: config
  128. dps:
  129. - id: 16
  130. name: switch
  131. type: boolean