simple_dual_switch_timer_v2.yaml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. name: Dual switch with timers
  2. products:
  3. - id: 7c35xxu0foeqpdka
  4. manufacturer: BlitzWolf
  5. model: BW-SS5
  6. - id: grnoiynjhh18aa15
  7. manufacturer: Deta
  8. model: "6922HA Series 3"
  9. entities:
  10. - entity: switch
  11. translation_key: switch_x
  12. translation_placeholders:
  13. x: "1"
  14. dps:
  15. - id: 1
  16. type: boolean
  17. name: switch
  18. - entity: switch
  19. translation_key: switch_x
  20. translation_placeholders:
  21. x: "2"
  22. dps:
  23. - id: 2
  24. type: boolean
  25. name: switch
  26. - entity: time
  27. translation_key: timer_x
  28. translation_placeholders:
  29. x: "1"
  30. category: config
  31. dps:
  32. - id: 9
  33. type: integer
  34. name: second
  35. range:
  36. min: 0
  37. max: 86400
  38. - entity: time
  39. translation_key: timer_x
  40. translation_placeholders:
  41. x: "2"
  42. category: config
  43. dps:
  44. - id: 10
  45. type: integer
  46. name: second
  47. range:
  48. min: 0
  49. max: 86400
  50. - entity: select
  51. translation_key: initial_state
  52. category: config
  53. hidden: unavailable
  54. dps:
  55. - id: 38
  56. type: string
  57. optional: true
  58. name: option
  59. mapping:
  60. - dps_val: "off"
  61. value: "off"
  62. - dps_val: "on"
  63. value: "on"
  64. - dps_val: memory
  65. value: memory
  66. - id: 38
  67. type: string
  68. optional: true
  69. name: available
  70. mapping:
  71. - dps_val: null
  72. value: false
  73. - value: true
  74. - entity: select
  75. translation_key: light_mode
  76. category: config
  77. hidden: unavailable
  78. dps:
  79. - id: 40
  80. type: string
  81. optional: true
  82. name: option
  83. mapping:
  84. - dps_val: relay
  85. value: state
  86. - dps_val: pos
  87. value: locator
  88. - dps_val: none
  89. value: "off"
  90. - dps_val: "on"
  91. value: "on"
  92. - id: 40
  93. type: string
  94. optional: true
  95. name: available
  96. mapping:
  97. - dps_val: null
  98. value: false
  99. - value: true
  100. - entity: lock
  101. translation_key: child_lock
  102. category: config
  103. hidden: unavailable
  104. dps:
  105. - id: 41
  106. type: boolean
  107. optional: true
  108. name: lock
  109. - id: 41
  110. type: boolean
  111. optional: true
  112. name: available
  113. mapping:
  114. - dps_val: null
  115. value: false
  116. - value: true
  117. - entity: text
  118. name: Inching
  119. category: config
  120. icon: "mdi:toggle-switch"
  121. hidden: true
  122. dps:
  123. - id: 44
  124. type: string
  125. optional: true
  126. name: value