simple_triple_switch_timer.yaml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. name: Triple switch
  2. products:
  3. - id: 16621606d8bfc0d93558
  4. name: KS-811-3
  5. primary_entity:
  6. entity: switch
  7. translation_key: switch_x
  8. translation_placeholders:
  9. x: 1
  10. dps:
  11. - id: 1
  12. name: switch
  13. type: boolean
  14. secondary_entities:
  15. - entity: switch
  16. translation_key: switch_x
  17. translation_placeholders:
  18. x: 2
  19. dps:
  20. - id: 2
  21. name: switch
  22. type: boolean
  23. - entity: switch
  24. translation_key: switch_x
  25. translation_placeholders:
  26. x: 3
  27. dps:
  28. - id: 3
  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: 9
  39. name: value
  40. type: integer
  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: 10
  56. name: value
  57. type: integer
  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: 11
  73. name: value
  74. type: integer
  75. unit: min
  76. range:
  77. min: 0
  78. max: 86400
  79. mapping:
  80. - scale: 60
  81. step: 60