Skip to content

Commit

Permalink
📷 add sub-entities for camera (#1187)
Browse files Browse the repository at this point in the history
  • Loading branch information
al-one committed Aug 27, 2023
1 parent 64bcd8c commit 471bd1d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions custom_components/xiaomi_miot/core/device_customizes.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@
'device_class': 'voltage',
'unit_of_measurement': 'V',
},
'chuangmi.camera.051a01': {
'switch_properties': 'on,time_watermark,motion_tracking,motion_detection,wdr_mode,glimmer_full_color,'
'face_switch,babycry_switch,pet_switch,gesture_switch,cruise_switch,smart_care_switch,'
'key_call_switch',
},
'chuangmi.camera.v6': {
'use_alarm_playlist': True,
},
Expand Down Expand Up @@ -1363,6 +1368,10 @@
},
'*.camera.*': {
'miot_cloud_action': True,
'sensor_properties': 'memory_card_management.status,storage_free_space,storage_used_space',
'select_properties': 'night_shot,recording_mode,detection_sensitivity',
'switch_properties': 'on,time_watermark,motion_tracking,motion_detection,wdr_mode,glimmer_full_color',
'number_properties': 'image_rollover,alarm_interval',
},
'*.cateye.*': {
'use_motion_stream': True,
Expand Down

0 comments on commit 471bd1d

Please sign in to comment.