simple_multi_switch.yaml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. name: Multi switch
  2. products:
  3. - id: iHRCXog1Au8bh7XG
  4. manufacturer: eMylo
  5. model: US-08e3 2 gang+USB wall outlet
  6. entities:
  7. - entity: switch
  8. translation_key: switch_x
  9. translation_placeholders:
  10. x: "1"
  11. dps:
  12. - id: 1
  13. type: boolean
  14. name: switch
  15. - entity: switch
  16. hidden: unavailable
  17. translation_key: switch_x
  18. translation_placeholders:
  19. x: "2"
  20. dps:
  21. - id: 2
  22. type: boolean
  23. optional: true
  24. name: switch
  25. - id: 2
  26. type: boolean
  27. optional: true
  28. name: available
  29. mapping:
  30. - dps_val: null
  31. value: false
  32. - value: true
  33. - entity: switch
  34. hidden: unavailable
  35. translation_key: switch_x
  36. translation_placeholders:
  37. x: "3"
  38. dps:
  39. - id: 3
  40. type: boolean
  41. optional: true
  42. name: switch
  43. - id: 3
  44. type: boolean
  45. optional: true
  46. name: available
  47. mapping:
  48. - dps_val: null
  49. value: false
  50. - value: true
  51. - entity: switch
  52. hidden: unavailable
  53. translation_key: switch_x
  54. translation_placeholders:
  55. x: "4"
  56. dps:
  57. - id: 4
  58. type: boolean
  59. optional: true
  60. name: switch
  61. - id: 4
  62. type: boolean
  63. optional: true
  64. name: available
  65. mapping:
  66. - dps_val: null
  67. value: false
  68. - value: true
  69. - entity: switch
  70. hidden: unavailable
  71. translation_key: switch_x
  72. translation_placeholders:
  73. x: "5"
  74. dps:
  75. - id: 5
  76. type: boolean
  77. optional: true
  78. name: switch
  79. - id: 5
  80. type: boolean
  81. optional: true
  82. name: available
  83. mapping:
  84. - dps_val: null
  85. value: false
  86. - value: true
  87. - entity: switch
  88. hidden: unavailable
  89. translation_key: switch_x
  90. translation_placeholders:
  91. x: "6"
  92. dps:
  93. - id: 6
  94. type: boolean
  95. optional: true
  96. name: switch
  97. - id: 6
  98. type: boolean
  99. optional: true
  100. name: available
  101. mapping:
  102. - dps_val: null
  103. value: false
  104. - value: true
  105. - entity: switch
  106. hidden: unavailable
  107. translation_key: switch_x
  108. translation_placeholders:
  109. x: "7"
  110. dps:
  111. - id: 7
  112. type: boolean
  113. optional: true
  114. name: switch
  115. - id: 7
  116. type: boolean
  117. optional: true
  118. name: available
  119. mapping:
  120. - dps_val: null
  121. value: false
  122. - value: true
  123. - entity: switch
  124. hidden: unavailable
  125. translation_key: switch_x
  126. translation_placeholders:
  127. x: "8"
  128. dps:
  129. - id: 8
  130. type: boolean
  131. optional: true
  132. name: switch
  133. - id: 8
  134. type: boolean
  135. optional: true
  136. name: available
  137. mapping:
  138. - dps_val: null
  139. value: false
  140. - value: true