motion_sensor_light.yaml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. name: Motion Sensor Light
  2. products:
  3. - id: oapo5mmfbcr2y7ox
  4. name: Deta 360 Motion Sensor
  5. - id: 8mrw54ape8opgl69
  6. name: Deta Light Motion Sensor
  7. - id: pxyhz90upglpoedu
  8. name: Arlec MAL315HA
  9. primary_entity:
  10. entity: light
  11. dps:
  12. - id: 101
  13. type: string
  14. name: effect
  15. mapping:
  16. - dps_val: mode_off
  17. value: "off"
  18. - dps_val: mode_auto
  19. value: auto
  20. - dps_val: mode_on
  21. value: "on"
  22. - id: 102
  23. type: boolean
  24. name: switch
  25. readonly: true
  26. secondary_entities:
  27. - entity: number
  28. name: Sensitivity
  29. icon: "mdi:human-greeting-proximity"
  30. category: config
  31. dps:
  32. - id: 103
  33. type: integer
  34. name: value
  35. range:
  36. min: 0
  37. max: 4
  38. mapping:
  39. - invert: true
  40. - entity: number
  41. name: Duration
  42. icon: "mdi:camera-timer"
  43. category: config
  44. dps:
  45. - id: 104
  46. type: integer
  47. name: value
  48. unit: s
  49. range:
  50. min: 10
  51. max: 900
  52. mapping:
  53. - step: 10
  54. - entity: number
  55. name: Light level
  56. icon: "mdi:theme-light-dark"
  57. category: config
  58. dps:
  59. - id: 105
  60. type: integer
  61. name: value
  62. unit: lx
  63. range:
  64. min: 0
  65. max: 3900
  66. mapping:
  67. - invert: true
  68. - entity: switch
  69. name: Auto reset
  70. category: config
  71. dps:
  72. - id: 106
  73. type: boolean
  74. name: switch