somgom_double_switch.yaml 1.1 KB

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