Skip to content

Commit

Permalink
🔋 improve for charging state (#2063)
Browse files Browse the repository at this point in the history
  • Loading branch information
al-one committed Dec 13, 2024
1 parent 757d12f commit c899567
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom_components/xiaomi_miot/core/device_customizes.py
Original file line number Diff line number Diff line change
Expand Up @@ -2434,10 +2434,11 @@
{
'props': [
'battery_level', 'electric_power', 'electric_current',
'voltage', 'leakage_current', 'surge_power', 'charging_state',
'voltage', 'leakage_current', 'surge_power',
],
'domain': 'sensor',
},
{'props': ['charging_state'], 'domain': 'sensor', 'desc': True},
],
},
{
Expand Down

0 comments on commit c899567

Please sign in to comment.