|
|
@@ -1,7 +1,6 @@
|
|
|
name: Camera
|
|
|
products:
|
|
|
- id: b60fclvud3xtcufm
|
|
|
- manufacturer: Tuya
|
|
|
model: SC116-WZ3A
|
|
|
entities:
|
|
|
- entity: camera
|
|
|
@@ -11,13 +10,10 @@ entities:
|
|
|
optional: true
|
|
|
name: switch
|
|
|
mapping:
|
|
|
- - dps_val: true
|
|
|
- value: false
|
|
|
- dps_val: false
|
|
|
value: true
|
|
|
- - dps_val: null
|
|
|
- value: true
|
|
|
- hidden: true
|
|
|
+ - dps_val: true
|
|
|
+ value: false
|
|
|
- id: 134
|
|
|
type: boolean
|
|
|
name: motion_enable
|
|
|
@@ -25,17 +21,10 @@ entities:
|
|
|
- id: 150
|
|
|
type: boolean
|
|
|
name: record
|
|
|
- optional: true
|
|
|
- - id: 115
|
|
|
- type: base64
|
|
|
- optional: true
|
|
|
- persist: false
|
|
|
- sensitive: true
|
|
|
- name: snapshot
|
|
|
- - entity: switch
|
|
|
- name: Indicator
|
|
|
+ optional: true
|
|
|
+ - entity: light
|
|
|
+ translation_key: indicator
|
|
|
category: config
|
|
|
- icon: "mdi:led-outline"
|
|
|
dps:
|
|
|
- id: 101
|
|
|
type: boolean
|
|
|
@@ -49,20 +38,13 @@ entities:
|
|
|
type: boolean
|
|
|
name: switch
|
|
|
- entity: switch
|
|
|
- name: Time OSD
|
|
|
+ name: Watermark
|
|
|
category: config
|
|
|
- icon: "mdi:clock-time-three-outline"
|
|
|
+ icon: "mdi:watermark"
|
|
|
dps:
|
|
|
- id: 104
|
|
|
type: boolean
|
|
|
- name: switch
|
|
|
- - entity: switch
|
|
|
- name: Privacy mode
|
|
|
- category: config
|
|
|
- icon: "mdi:eye-off"
|
|
|
- dps:
|
|
|
- - id: 105
|
|
|
- type: boolean
|
|
|
+ optional: true
|
|
|
name: switch
|
|
|
- entity: select
|
|
|
name: Motion sensitivity
|
|
|
@@ -326,9 +308,20 @@ entities:
|
|
|
- dps_val: null
|
|
|
value: false
|
|
|
hidden: true
|
|
|
+ - entity: event
|
|
|
+ name: Alarm
|
|
|
+ dps:
|
|
|
+ - id: 185
|
|
|
+ type: string
|
|
|
+ name: event
|
|
|
+ optional: true
|
|
|
+ mapping:
|
|
|
+ - dps_val: null
|
|
|
+ value: null
|
|
|
+ - value: alert
|
|
|
- id: 185
|
|
|
type: string
|
|
|
- name: log_message
|
|
|
+ name: message
|
|
|
optional: true
|
|
|
- entity: number
|
|
|
name: Volume
|
|
|
@@ -509,3 +502,22 @@ entities:
|
|
|
- dps_val: "4"
|
|
|
value: true
|
|
|
- value: false
|
|
|
+ - entity: event
|
|
|
+ class: motion
|
|
|
+ dps:
|
|
|
+ - id: 115
|
|
|
+ type: string
|
|
|
+ name: event
|
|
|
+ optional: true
|
|
|
+ mapping:
|
|
|
+ - dps_val: null
|
|
|
+ value: null
|
|
|
+ - value: detected
|
|
|
+ - id: 115
|
|
|
+ type: string
|
|
|
+ optional: true
|
|
|
+ name: snapshot
|
|
|
+ - id: 212
|
|
|
+ type: string
|
|
|
+ optional: true
|
|
|
+ name: message
|