brilliant_double_switch.yaml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. name: Double wall switch
  2. products:
  3. - id: 5pyb1usxij5kzs47
  4. manufacturer: Briliiant Smart
  5. name: Glass wall switch 2-gang
  6. entities:
  7. - entity: switch
  8. class: switch
  9. translation_key: switch_x
  10. translation_placeholders:
  11. x: "1"
  12. dps:
  13. - id: 1
  14. type: boolean
  15. name: switch
  16. - entity: switch
  17. class: switch
  18. translation_key: switch_x
  19. translation_placeholders:
  20. x: "2"
  21. dps:
  22. - id: 2
  23. type: boolean
  24. name: switch
  25. - entity: number
  26. category: config
  27. translation_key: timer_x
  28. translation_placeholders:
  29. x: "1"
  30. class: duration
  31. dps:
  32. - id: 7
  33. type: integer
  34. name: value
  35. unit: min
  36. range:
  37. min: 0
  38. max: 86400
  39. mapping:
  40. - scale: 60
  41. step: 60
  42. - entity: number
  43. category: config
  44. translation_key: timer_x
  45. translation_placeholders:
  46. x: "2"
  47. class: duration
  48. dps:
  49. - id: 8
  50. type: integer
  51. name: value
  52. unit: min
  53. range:
  54. min: 0
  55. max: 86400
  56. mapping:
  57. - scale: 60
  58. step: 60
  59. - entity: sensor
  60. name: Energy
  61. category: diagnostic
  62. hidden: true
  63. dps:
  64. - id: 101
  65. type: integer
  66. name: sensor
  67. unit: kWh
  68. class: measurement
  69. mapping:
  70. - scale: 1000
  71. - entity: sensor
  72. class: current
  73. category: diagnostic
  74. dps:
  75. - id: 102
  76. type: integer
  77. name: sensor
  78. unit: mA
  79. class: measurement
  80. - entity: sensor
  81. class: power
  82. category: diagnostic
  83. dps:
  84. - id: 103
  85. type: integer
  86. name: sensor
  87. unit: W
  88. class: measurement
  89. mapping:
  90. - scale: 10
  91. - entity: sensor
  92. class: voltage
  93. category: diagnostic
  94. dps:
  95. - id: 104
  96. type: integer
  97. name: sensor
  98. unit: V
  99. class: measurement
  100. mapping:
  101. - scale: 10