Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
fixed Unit of Measurement for DC current.
  • Loading branch information
grehund authored Feb 19, 2022
1 parent 23ca740 commit 6b3d13e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/sems2mqtt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def create_device(model):
}
payload_dc_current_str_1 = {
'name':'sems_str_1_current',
'unit_of_meas':'VDC',
'unit_of_meas':'IDC',
'value_template':'{{ value_json.dc_current_str_1 }}',
'icon':'mdi:current-dc',
'state_topic':'sems/sensors',
Expand All @@ -340,7 +340,7 @@ def create_device(model):
}
payload_dc_current_str_2 = {
'name':'sems_str_2_current',
'unit_of_meas':'VDC',
'unit_of_meas':'IDC',
'value_template':'{{ value_json.dc_current_str_2 }}',
'icon':'mdi:current-dc',
'state_topic':'sems/sensors',
Expand Down

0 comments on commit 6b3d13e

Please sign in to comment.