door_peephole_camera.yaml 2.9 KB

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