Skip to content

Commit

Permalink
🏃 add sub-entities for ainice.sensor_occupy.pr
Browse files Browse the repository at this point in the history
  • Loading branch information
al-one committed Dec 18, 2023
1 parent 21c1638 commit 64ae6d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions custom_components/xiaomi_miot/core/device_customizes.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,15 @@
'offline_duration,ble_in_threshold,ble_out_threshold,ble_far_timeout',
},
'ainice.sensor_occupy.pr': {
'main_miot_services': 'occupancy_sensor',
'state_property': 'occupancy_sensor.occupancy_status',
'interval_seconds': 10,
'sensor_properties': 'no_one_duration,has_someone_duration,zone_param',
'switch_properties': 'radar_switch,bluetooth_switch,count_switch',
'select_properties': 'sensitivity,direction,position',
'number_properties': 'hold_duration',
'button_actions': 'reboot',
'exclude_miot_properties': 'cmd_request,cmd_response',
},
'air.fan.ca23ad9': {
'unreadable_properties': True, # issues/1097
Expand Down

0 comments on commit 64ae6d6

Please sign in to comment.