Skip to content

Commit

Permalink
🏃 improve for motion (#1996)
Browse files Browse the repository at this point in the history
  • Loading branch information
al-one committed Dec 5, 2024
1 parent c97eabe commit f3a4005
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 @@ -2071,6 +2071,9 @@
'sensor_properties': 'repellent_left_level,liquid_left',
'select_properties': 'mode',
},
'*.motion.*': {
'sensor_properties': 'illumination,no_motion_duration',
},
'*.motion.*:light_strong': {
'device_class': 'light',
},
Expand Down

0 comments on commit f3a4005

Please sign in to comment.