pir_spotlight.yaml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. name: PIR spotlight
  2. products:
  3. - id: reldobj3ny6fbgvw
  4. model: Duo LED
  5. model_id: WFD 3050 P
  6. - id: 2twfjfhdvygxxqtq
  7. manufacturer: Nedis
  8. name: Outdoor floodlight
  9. - id: key3pw4guvnat9ad
  10. manufacturer: LSC
  11. name: Floodlight with sensor
  12. entities:
  13. - entity: light
  14. dps:
  15. - id: 20
  16. type: boolean
  17. name: switch
  18. - id: 21
  19. type: string
  20. name: work_mode
  21. - id: 22
  22. name: brightness
  23. type: integer
  24. range:
  25. min: 10
  26. max: 1000
  27. - id: 23
  28. name: color_temp
  29. type: integer
  30. optional: true
  31. range:
  32. min: 0
  33. max: 1000
  34. mapping:
  35. - target_range:
  36. min: 2700
  37. max: 6500
  38. - entity: time
  39. translation_key: timer
  40. category: config
  41. dps:
  42. - id: 26
  43. name: second
  44. type: integer
  45. optional: true
  46. range:
  47. min: 0
  48. max: 86400
  49. - entity: switch
  50. name: Manual mode
  51. category: config
  52. dps:
  53. - id: 51
  54. type: string
  55. name: switch
  56. mapping:
  57. - dps_val: auto
  58. value: false
  59. - dps_val: manual
  60. value: true
  61. optional: true
  62. force: true
  63. - entity: switch
  64. name: PIR enabled
  65. category: config
  66. dps:
  67. - id: 56
  68. type: boolean
  69. name: switch
  70. optional: true
  71. force: true
  72. - entity: event
  73. class: motion
  74. dps:
  75. - id: 52
  76. type: string
  77. name: event
  78. mapping:
  79. - dps_val: pir
  80. value: detected
  81. - dps_val: none
  82. value: clear
  83. - entity: select
  84. translation_key: motion_sensitivity
  85. category: config
  86. dps:
  87. - id: 54
  88. type: string
  89. name: option
  90. optional: true
  91. force: true
  92. mapping:
  93. - dps_val: "high"
  94. value: high
  95. - dps_val: "middle"
  96. value: medium
  97. - dps_val: "low"
  98. value: low
  99. - entity: number
  100. name: Full light duration
  101. category: config
  102. icon: "mdi:timer"
  103. dps:
  104. - id: 55
  105. name: value
  106. type: integer
  107. range:
  108. min: 5
  109. max: 3600
  110. unit: s
  111. optional: true
  112. force: true
  113. - entity: number
  114. name: Standby delay
  115. category: config
  116. dps:
  117. - id: 58
  118. name: value
  119. type: integer
  120. range:
  121. min: 1
  122. max: 480
  123. unit: min
  124. mapping:
  125. - scale: 1
  126. - dps_val: null
  127. optional: true
  128. force: true
  129. - entity: number
  130. name: Standby bright
  131. category: config
  132. dps:
  133. - id: 59
  134. name: value
  135. type: integer
  136. range:
  137. min: 0
  138. max: 1000
  139. unit: min
  140. mapping:
  141. - scale: 1
  142. - dps_val: null
  143. optional: true
  144. force: true
  145. - entity: select
  146. name: Ambient light sensor
  147. category: config
  148. dps:
  149. - id: 53
  150. type: string
  151. name: option
  152. mapping:
  153. - dps_val: 10lux
  154. value: 10lux
  155. - dps_val: 2000lux
  156. value: 2000lux
  157. - dps_val: 300lux
  158. value: 300lux
  159. - dps_val: 50lux
  160. value: 50lux
  161. - dps_val: 10lux
  162. value: 10lux
  163. - dps_val: 5lux
  164. value: 5lux
  165. - dps_val: now
  166. value: Now
  167. optional: true
  168. force: true