somgom_double_switch.yaml 971 B

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