door_peephole_camera.yaml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. name: Camera
  2. products:
  3. - id: fzsbulp3wg64l8vx
  4. name: TY-W160D
  5. primary_entity:
  6. entity: camera
  7. dps:
  8. - id: 134
  9. type: boolean
  10. name: motion_enable
  11. optional: true
  12. - id: 150
  13. type: boolean
  14. name: record
  15. optional: true
  16. secondary_entities:
  17. - entity: switch
  18. name: Flip image
  19. category: config
  20. dps:
  21. - id: 103
  22. type: boolean
  23. optional: true
  24. name: switch
  25. mapping:
  26. - dps_val: null
  27. value: false
  28. hidden: true
  29. - entity: switch
  30. name: Timestamp
  31. category: config
  32. dps:
  33. - id: 104
  34. type: boolean
  35. name: switch
  36. - entity: select
  37. name: Motion sensitivity
  38. icon: "mdi:motion-sensor"
  39. category: config
  40. dps:
  41. - id: 106
  42. type: string
  43. name: option
  44. optional: true
  45. mapping:
  46. - dps_val: "0"
  47. value: Low
  48. - dps_val: "1"
  49. value: Medium
  50. - dps_val: "2"
  51. value: High
  52. - entity: select
  53. name: Nightvision
  54. icon: "mdi:weather-night"
  55. category: config
  56. dps:
  57. - id: 108
  58. type: string
  59. optional: true
  60. name: option
  61. mapping:
  62. - dps_val: "0"
  63. value: Auto
  64. - dps_val: "1"
  65. value: "Off"
  66. - dps_val: "2"
  67. value: "On"
  68. - dps_val: null
  69. value: Auto
  70. hidden: true
  71. - entity: sensor
  72. name: SD status
  73. class: enum
  74. category: diagnostic
  75. dps:
  76. - id: 110
  77. type: integer
  78. name: sensor
  79. optional: true
  80. mapping:
  81. - dps_val: 1
  82. value: normal
  83. - dps_val: 2
  84. value: error
  85. - dps_val: 3
  86. value: full
  87. - dps_val: 4
  88. value: formatting
  89. - dps_val: 5
  90. value: missing
  91. - dps_val: null
  92. value: normal
  93. hidden: true
  94. - id: 109
  95. type: string
  96. name: memory_card_capacity
  97. optional: true
  98. - entity: button
  99. name: Format SD card
  100. category: config
  101. dps:
  102. - id: 111
  103. type: boolean
  104. optional: true
  105. name: button
  106. - id: 117
  107. type: integer
  108. optional: true
  109. name: sd_format_status
  110. mapping:
  111. - dps_val: 2000
  112. value: Formatting
  113. - dps_val: 2001
  114. value: Format error
  115. - dps_val: 2002
  116. value: "No SD card"
  117. - dps_val: 2003
  118. value: Card error
  119. - entity: select
  120. name: Recording mode
  121. icon: "mdi:file-video"
  122. category: config
  123. dps:
  124. - id: 151
  125. type: string
  126. name: option
  127. optional: true
  128. mapping:
  129. - dps_val: "1"
  130. value: Event
  131. - dps_val: "2"
  132. value: Continuous
  133. - entity: event
  134. class: motion
  135. category: diagnostic
  136. dps:
  137. - id: 115
  138. type: string
  139. name: event
  140. optional: true
  141. mapping:
  142. - dps_val: null
  143. value: clear
  144. - value: detected
  145. - id: 115
  146. type: string
  147. name: image_details
  148. optional: true