somgom_double_switch.yaml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. name: Somgoms double switch
  2. entities:
  3. - entity: switch
  4. translation_key: switch_x
  5. translation_placeholders:
  6. x: "1"
  7. dps:
  8. - id: 1
  9. name: switch
  10. type: boolean
  11. - entity: switch
  12. translation_key: switch_x
  13. translation_placeholders:
  14. x: "2"
  15. dps:
  16. - id: 2
  17. name: switch
  18. type: boolean
  19. - entity: number
  20. class: duration
  21. translation_key: timer_x
  22. translation_placeholders:
  23. x: "1"
  24. category: config
  25. dps:
  26. - id: 7
  27. name: value
  28. type: integer
  29. range:
  30. min: 0
  31. max: 86400
  32. mapping:
  33. - scale: 60
  34. unit: min
  35. - entity: number
  36. class: duration
  37. translation_key: timer_x
  38. translation_placeholders:
  39. x: "2"
  40. category: config
  41. dps:
  42. - id: 8
  43. name: value
  44. type: integer
  45. range:
  46. min: 0
  47. max: 86400
  48. mapping:
  49. - scale: 60
  50. unit: min
  51. - entity: light
  52. translation_key: backlight
  53. category: config
  54. dps:
  55. - id: 16
  56. name: switch
  57. type: boolean