Skip to content

Commit

Permalink
improve for lumi.acpartner
Browse files Browse the repository at this point in the history
  • Loading branch information
al-one committed Nov 7, 2024
1 parent 69f94a5 commit 51411fe
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 @@ -857,6 +857,7 @@
'light_services': 'vd_light_a,vd_light_b,vd_light_c',
},
'lumi.acpartner.mcn02': {
'sensor_attributes': 'power_cost_today,power_cost_month',
'miio_cloud_props': [],
},
'lumi.acpartner.mcn02:electric_power': {
Expand All @@ -870,7 +871,7 @@
'miio_cloud_props': [],
'stat_power_cost_type': 'stat_day_v3',
'stat_power_cost_key': '7.1,7.3',
'sensor_attributes': 'power_cost_today,power_cost_month,power_cost_today_2,power_cost_month_2'
'sensor_attributes': 'power_cost_today,power_cost_month,power_cost_today_2,power_cost_month_2',
},
'lumi.acpartner.mcn04:power_consumption': ENERGY_KWH,
'lumi.acpartner.mcn04:power_cost_today': {
Expand Down

0 comments on commit 51411fe

Please sign in to comment.